summaryrefslogtreecommitdiff
path: root/src/anytun-config.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2016-07-03 00:08:18 +0200
committerChristian Pointner <equinox@anytun.org>2016-07-03 01:31:22 +0200
commit6431129558fa9e4d1b3de8fc6439594cd01d53de (patch)
treecafb483a2ba60dc8a9452d62d837e29115820607 /src/anytun-config.cpp
parentupdated some info after moving to GIT (diff)
std::auto_ptr is deprecated sinc C++0x use boost:scoped_ptr and boost::shared_ptr as a backwards compatiple replacement
boost::bind problem with GCC-6 is still unfixed and all resolvers are commented out at the moment...
Diffstat (limited to 'src/anytun-config.cpp')
-rw-r--r--src/anytun-config.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/anytun-config.cpp b/src/anytun-config.cpp
index b305dc6..ff36487 100644
--- a/src/anytun-config.cpp
+++ b/src/anytun-config.cpp
@@ -139,10 +139,10 @@ int main(int argc, char* argv[])
int ret = 0;
UDPPacketSource::proto::endpoint endpoint;
// allow emtpy endpoint!!!
- gResolver.resolveUdp(gOpt.getRemoteAddr(), gOpt.getRemotePort(),
- boost::bind(createConnectionResolver, _1, boost::ref(cl), gOpt.getSeqWindowSize(), boost::ref(queue), gOpt.getMux(), boost::ref(sem)),
- boost::bind(createConnectionError, _1, boost::ref(sem), boost::ref(ret)),
- gOpt.getResolvAddrType());
+// gResolver.resolveUdp(gOpt.getRemoteAddr(), gOpt.getRemotePort(),
+// boost::bind(createConnectionResolver, _1, boost::ref(cl), gOpt.getSeqWindowSize(), boost::ref(queue), gOpt.getMux(), boost::ref(sem)),
+// boost::bind(createConnectionError, _1, boost::ref(sem), boost::ref(ret)),
+// gOpt.getResolvAddrType());
sem.down();
return ret;
}