From d790f4c83fe3fe090b74df29615dcd2d06f3aa38 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Thu, 28 Feb 2008 23:38:58 +0000 Subject: fixed network prefix --- anyctr.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'anyctr.cpp') diff --git a/anyctr.cpp b/anyctr.cpp index df699d1..2e4e9c2 100644 --- a/anyctr.cpp +++ b/anyctr.cpp @@ -64,6 +64,8 @@ void createConnection(const std::string & remote_host, u_int16_t remote_port, Co cl.addConnection( connparam, mux ); NetworkAddress addr( ipv4, gOpt.getIfconfigParamRemoteNetmask().c_str() ); NetworkPrefix prefix( addr ); + // TODO configurierbar machen!!! + prefix.setNetworkPrefixLength(32); gRoutingTable.addRoute( prefix, mux ); std::ostringstream sout; boost::archive::text_oarchive oa( sout ); -- cgit v1.2.3