Changeset 61

Show
Ignore:
Timestamp:
09/23/05 17:07:26 (3 years ago)
Author:
bart
Message:

Fixed a small glitch in remote port forwarding

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Libs/SSHTunnel.m

    r59 r61  
    218218        for(i=0; i < [remotePortForwards count]; i++) 
    219219        { 
    220                 [arguments addObject:@"-L"]; 
    221                 [arguments addObject:[NSString stringWithFormat:@"%d:%@:%d", [[[remotePortForwards objectAtIndex:i] objectAtIndex:0] intValue],  
     220                [arguments addObject:[NSString stringWithFormat:@"-R%d:%@:%d", [[[remotePortForwards objectAtIndex:i] objectAtIndex:0] intValue],  
    222221                                                                        [[remotePortForwards objectAtIndex:i] objectAtIndex:1], 
    223222                                                                        [[[remotePortForwards objectAtIndex:i] objectAtIndex:2] intValue]]