From 6427f7a5921136c703d24259be948dd2d279f310 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 20 Jun 2007 22:42:48 +0000 Subject: little bugfix --- anytun.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'anytun.cpp') 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_); -- cgit v1.2.3