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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/anytun-config.cpp b/src/anytun-config.cpp
index e5cd8b1..9b94af9 100644
--- a/src/anytun-config.cpp
+++ b/src/anytun-config.cpp
@@ -66,8 +66,8 @@ void createConnection(const PacketSourceEndpoint & remote_end, ConnectionList &
oa << scom;
std::cout << std::setw(5) << std::setfill('0') << sout.str().size()<< ' ' << sout.str() << std::endl;
- RouteList routes = gOpt.getRoutes();
- RouteList::const_iterator rit;
+ NetworkList routes = gOpt.getRoutes();
+ NetworkList::const_iterator rit;
for(rit = routes.begin(); rit != routes.end(); ++rit)
{
NetworkAddress addr( rit->net_addr.c_str() );