summaryrefslogtreecommitdiff
path: root/src/anytun-config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/anytun-config.cpp')
-rw-r--r--src/anytun-config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/anytun-config.cpp b/src/anytun-config.cpp
index 840804a..3f21d0e 100644
--- a/src/anytun-config.cpp
+++ b/src/anytun-config.cpp
@@ -70,7 +70,7 @@ void createConnection(const PacketSourceEndpoint & remote_end, ConnectionList &
RouteList::const_iterator rit;
for(rit = routes.begin(); rit != routes.end(); ++rit)
{
- NetworkAddress addr( ipv4, rit->net_addr.c_str() );
+ NetworkAddress addr( rit->net_addr.c_str() );
NetworkPrefix prefix( addr, rit->prefix_length );
gRoutingTable.addRoute( prefix, mux );