summaryrefslogtreecommitdiff
path: root/src/anytun.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/anytun.cpp')
-rw-r--r--src/anytun.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/anytun.cpp b/src/anytun.cpp
index 0637997..8c6600b 100644
--- a/src/anytun.cpp
+++ b/src/anytun.cpp
@@ -455,6 +455,18 @@ int main(int argc, char* argv[])
cLog.msg(Log::PRIO_NOTICE) << "post up script '" << gOpt.getPostUpScript() << "' returned " << postup_ret;
}
+
+// Buffer buff(u_int32_t(1600));
+// int len;
+// while(1)
+// {
+// len = dev.read(buff.getBuf(), buff.getLength());
+// cLog.msg(Log::PRIO_NOTICE) << "read " << len << " bytes form interface " << dev.getActualName();
+// }
+
+// exit(0);
+
+
if(gOpt.getChroot())
chrootAndDrop(gOpt.getChrootDir(), gOpt.getUsername());
if(gOpt.getDaemonize())