From 6497411b61db98423bbf018c68fec5272205a151 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Wed, 4 Jun 2008 18:06:16 +0000 Subject: [PATCH] add a note about wildcards to the rpc prefs --- macosx/English.lproj/PrefsWindow.xib | 61 +++++++++++++++++++++++++++- macosx/PrefsController.m | 4 +- 2 files changed, 61 insertions(+), 4 deletions(-) diff --git a/macosx/English.lproj/PrefsWindow.xib b/macosx/English.lproj/PrefsWindow.xib index 38bc2f789..270c1b5e1 100644 --- a/macosx/English.lproj/PrefsWindow.xib +++ b/macosx/English.lproj/PrefsWindow.xib @@ -1517,7 +1517,7 @@ NSResponder - + 256 YES @@ -1526,6 +1526,7 @@ 256 {{295, 184}, {50, 22}} + YES -1804468671 @@ -1590,6 +1591,7 @@ 256 {{171, 159}, {100, 18}} + YES 67239424 @@ -1612,6 +1614,7 @@ 256 {{295, 158}, {50, 22}} + YES -1804468671 @@ -1676,6 +1679,7 @@ 256 {{171, 185}, {118, 18}} + YES 67239424 @@ -1698,6 +1702,7 @@ 256 {{350, 185}, {34, 17}} + YES 67239424 @@ -1714,6 +1719,7 @@ 256 {{350, 159}, {34, 17}} + YES 67239424 @@ -1730,6 +1736,7 @@ 256 {{25, 186}, {143, 17}} + YES 67239424 @@ -1746,6 +1753,7 @@ 256 {{295, 116}, {50, 22}} + YES -1804468671 @@ -1810,6 +1818,7 @@ 256 {{295, 90}, {50, 22}} + YES -1804468671 @@ -1874,6 +1883,7 @@ 256 {{350, 117}, {34, 17}} + YES 67239424 @@ -1890,6 +1900,7 @@ 256 {{350, 91}, {34, 17}} + YES 67239424 @@ -1906,6 +1917,7 @@ 256 {{46, 118}, {122, 17}} + YES 67239424 @@ -1922,6 +1934,7 @@ 256 {{170, 92}, {82, 17}} + YES 67239424 @@ -1938,6 +1951,7 @@ 256 {{170, 118}, {100, 17}} + YES 67239424 @@ -1954,6 +1968,7 @@ 256 {{170, 72}, {339, 14}} + YES 67239424 @@ -1982,6 +1997,7 @@ {{28, 118}, {20, 14}} + YES 130560 @@ -2002,6 +2018,7 @@ 256 {{171, 48}, {217, 18}} + YES 67239424 @@ -2024,6 +2041,7 @@ 256 {{273, 22}, {28, 17}} + YES 67239424 @@ -2040,6 +2058,7 @@ 256 {{185, 20}, {86, 27}} + YES 71433728 @@ -2093,6 +2112,7 @@ AAABAAAAAQ 256 {{306, 20}, {86, 27}} + YES 71433728 @@ -2112,6 +2132,8 @@ AAABAAAAAQ {535, 226} + + NSView NSResponder @@ -3206,6 +3228,22 @@ AAABAAAAAQ 6 + + + 256 + {{177, 23}, {275, 14}} + + YES + + 67239424 + 272760832 + IP addresses may include * wildcard + + + + + + {535, 298} @@ -6797,6 +6835,7 @@ AAABAAAAAQ + Remote @@ -6997,6 +7036,20 @@ AAABAAAAAQ + + 1541 + + + YES + + + + + + 1542 + + + @@ -7126,6 +7179,8 @@ AAABAAAAAQ 1535.IBPluginDependency 154.IBPluginDependency 154.ImportedFromIB2 + 1541.IBPluginDependency + 1541.ImportedFromIB2 155.IBPluginDependency 155.ImportedFromIB2 156.IBPluginDependency @@ -7461,6 +7516,8 @@ AAABAAAAAQ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -7697,7 +7754,7 @@ AAABAAAAAQ - 1540 + 1542 diff --git a/macosx/PrefsController.m b/macosx/PrefsController.m index 2defdd1c0..1b781d379 100644 --- a/macosx/PrefsController.m +++ b/macosx/PrefsController.m @@ -743,7 +743,7 @@ NSArray * components = [object componentsSeparatedByString: @"."]; NSMutableArray * newComponents = [NSMutableArray arrayWithCapacity: 4]; - //verify ip + //create better-formatted ip string if ([components count] == 4) { NSEnumerator * enumerator = [components objectEnumerator]; @@ -759,7 +759,7 @@ NSString * newIP = [newComponents componentsJoinedByString: @"."]; - //revert if ip is not valid + //verify ip string if (!tr_sessionTestRPCACL(fHandle, [[@"+" stringByAppendingString: newIP] UTF8String], NULL)) { NSDictionary * newDict = [NSDictionary dictionaryWithObjectsAndKeys: newIP, @"IP", -- 2.40.0