summaryrefslogtreecommitdiff
path: root/src/packetSource.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/packetSource.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/packetSource.cpp')
-rw-r--r--src/packetSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packetSource.cpp b/src/packetSource.cpp
index 882938f..8357c64 100644
--- a/src/packetSource.cpp
+++ b/src/packetSource.cpp
@@ -62,7 +62,7 @@ void PacketSource::waitUntilReady()
UDPPacketSource::UDPPacketSource(std::string localaddr, std::string port)
{
- gResolver.resolveUdp(localaddr, port, boost::bind(&UDPPacketSource::onResolve, this, _1), boost::bind(&UDPPacketSource::onError, this, _1), gOpt.getResolvAddrType());
+// gResolver.resolveUdp(localaddr, port, boost::bind(&UDPPacketSource::onResolve, this, _1), boost::bind(&UDPPacketSource::onError, this, _1), gOpt.getResolvAddrType());
}
UDPPacketSource::~UDPPacketSource()