Allow explicit UDP port option, confine ports to range 60000..61000
This commit is contained in:
@@ -48,7 +48,7 @@ int main( int argc, char *argv[] )
|
||||
|
||||
n = new Transport<UserStream, UserStream>( me, remote, key, ip, port );
|
||||
} else {
|
||||
n = new Transport<UserStream, UserStream>( me, remote, NULL );
|
||||
n = new Transport<UserStream, UserStream>( me, remote, NULL, NULL );
|
||||
}
|
||||
} catch ( CryptoException e ) {
|
||||
fprintf( stderr, "Fatal error: %s\n", e.text.c_str() );
|
||||
|
||||
Reference in New Issue
Block a user