summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-04-07 20:12:09 +0000
committerOthmar Gsenger <otti@anytun.org>2008-04-07 20:12:09 +0000
commit486e2b3a8303ffbbd85827d7084be01da940ea33 (patch)
tree48733b0cecc3733876d37470819493791e931023
parentadded small logo (diff)
fixed ipv6 support
-rw-r--r--tunDevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tunDevice.cpp b/tunDevice.cpp
index b1ba686..78b3d19 100644
--- a/tunDevice.cpp
+++ b/tunDevice.cpp
@@ -100,8 +100,8 @@ TunDevice::TunDevice(const char* dev_name,const char* dev_type, const char* ifcf
if(!dev_)
throw std::runtime_error("can't init tun/tap device");
- open_tun (dev_name, NULL, NULL, false, dev_);
- do_ifconfig(dev_, dev_->actual_name, 1000, NULL);
+ open_tun (dev_name, NULL, NULL, true, dev_);
+ do_ifconfig(dev_, dev_->actual_name, 1400, NULL);
}
TunDevice::~TunDevice()