add a note about wildcards to the rpc prefs

This commit is contained in:
Mitchell Livingston
2008-06-04 18:06:16 +00:00
parent fa08470cfa
commit 6497411b61
2 changed files with 61 additions and 4 deletions

View File

@@ -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",