summaryrefslogtreecommitdiff
path: root/src/anytun.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/anytun.cpp')
-rw-r--r--src/anytun.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/anytun.cpp b/src/anytun.cpp
index 4086c93..bd21eb3 100644
--- a/src/anytun.cpp
+++ b/src/anytun.cpp
@@ -39,6 +39,7 @@
#include "datatypes.h"
#include "log.h"
+#include "resolver.h"
#include "buffer.h"
#include "plainPacket.h"
#include "encryptedPacket.h"
@@ -395,6 +396,14 @@ int main(int argc, char* argv[])
cLog.msg(Log::PRIO_NOTICE) << "anytun started...";
gOpt.parse_post(); // print warnings
+// gResolver.init();
+// gResolver.resolveUdp(gOpt.getRemoteAddr(), gOpt.getRemotePort());
+// gResolver.resolveTcp(gOpt.getRemoteAddr(), gOpt.getRemotePort());
+
+// while(1)
+// boost::this_thread::sleep(boost::posix_time::milliseconds(1000));
+// exit(0);
+
#ifndef NO_DAEMON
#ifndef NO_PRIVDROP
PrivInfo privs(gOpt.getUsername(), gOpt.getGroupname());