diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-02-29 15:30:37 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-02-29 15:30:37 +0000 |
commit | cc7a7761e83f762ed00df3a38cececd37a3b8170 (patch) | |
tree | 5e34610721c8044111a1e01402b37faade32b82f /anytun.cpp | |
parent | networp prefix (diff) |
changed networkPrefix Constructor
Diffstat (limited to 'anytun.cpp')
-rw-r--r-- | anytun.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -82,7 +82,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,32); gRoutingTable.addRoute(prefix,mux); SyncCommand sc (cl,mux); queue.push(sc); |