mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
(trunk cli) #1598: peer-port not saved correctly
This commit is contained in:
@@ -511,7 +511,7 @@ parseCommandLine( tr_benc * d, int argc, const char ** argv )
|
||||
case 'M': tr_bencDictAddInt( d, TR_PREFS_KEY_PORT_FORWARDING, 0 );
|
||||
break;
|
||||
case 'n': sourceFile = optarg; break;
|
||||
case 'p': tr_bencDictAddInt( d, TR_PREFS_KEY_PEER_PORT, 1 );
|
||||
case 'p': tr_bencDictAddInt( d, TR_PREFS_KEY_PEER_PORT, atoi( optarg ) );
|
||||
break;
|
||||
case 'r': isPrivate = 1;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user