summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2007-06-20 22:42:48 +0000
committerChristian Pointner <equinox@anytun.org>2007-06-20 22:42:48 +0000
commit6427f7a5921136c703d24259be948dd2d279f310 (patch)
tree2a74e4daccf9dfbb078390109fe802ad028c63c6 /anytun.cpp
parentfirst test of whole system (diff)
little bugfix
Diffstat (limited to 'anytun.cpp')
-rw-r--r--anytun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/anytun.cpp b/anytun.cpp
index 2f4378b..372d2e1 100644
--- a/anytun.cpp
+++ b/anytun.cpp
@@ -160,7 +160,7 @@ int main(int argc, char* argv[])
sig.init();
struct Param p;
- p.dev = new TunDevice(dev_type_.c_str(), ifconfig_param_2_.c_str(), ifconfig_param_2_.c_str());
+ p.dev = new TunDevice(dev_type_.c_str(), ifconfig_param_1_.c_str(), ifconfig_param_2_.c_str());
p.c = new NullCypher();
p.a = new NullAuthAlgo();
p.src = new UDPPacketSource(local_port_);