summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
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_);