summaryrefslogtreecommitdiff
path: root/src/anytun.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/anytun.cpp')
-rw-r--r--src/anytun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/anytun.cpp b/src/anytun.cpp
index bdb7a5d..ca77e63 100644
--- a/src/anytun.cpp
+++ b/src/anytun.cpp
@@ -100,7 +100,7 @@ void createConnection(const PacketSourceEndpoint & remote_end, ConnectionList &
if (gOpt.getIfconfigParamRemoteNetmask() != "")
{
NetworkAddress addr(gOpt.getIfconfigParamRemoteNetmask());
- NetworkPrefix prefix(addr,32);
+ NetworkPrefix prefix(addr,128);
gRoutingTable.addRoute(prefix,mux);
SyncCommand sc2 (prefix);
queue.push(sc2);