diff options
Diffstat (limited to 'anyctr.cpp')
-rw-r--r-- | anyctr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ void createConnection(const std::string & remote_host, u_int16_t remote_port, Co ConnectionParam connparam ( (*kd), (*seq), seq_nr_, remote_host, remote_port ); cl.addConnection( connparam, mux ); NetworkAddress addr( ipv4, gOpt.getIfconfigParamRemoteNetmask().c_str() ); - NetworkPrefix prefix( addr ); + NetworkPrefix prefix( addr,gOpt.getNetworkPrefixLength() ); prefix.setNetworkPrefixLength(gOpt.getNetworkPrefixLength()); |