sine we now have two public ports (peer and rpc), rename "publicPort" as "peerPort"

This commit is contained in:
Charles Kerr
2008-05-23 16:18:58 +00:00
parent f9e8b56816
commit d18fb68fbc
13 changed files with 36 additions and 37 deletions

View File

@@ -43,7 +43,7 @@ saveState( tr_handle * h )
tr_bencDictAddStr( &d, "download-dir", tr_sessionGetDownloadDir( h ) );
tr_bencDictAddInt( &d, "peer-limit", tr_sessionGetPeerLimit( h ) );
tr_bencDictAddInt( &d, "pex-allowed", tr_sessionIsPexEnabled( h ) );
tr_bencDictAddInt( &d, "port", tr_sessionGetPublicPort( h ) );
tr_bencDictAddInt( &d, "port", tr_sessionGetPeerPort( h ) );
tr_bencDictAddInt( &d, "port-forwarding-enabled",
tr_sessionIsPortForwardingEnabled( h ) );
tr_bencDictAddStr( &d, "rpc-acl", tr_sessionGetRPCACL( h ) );