diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-04-07 20:12:09 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-04-07 20:12:09 +0000 |
commit | 486e2b3a8303ffbbd85827d7084be01da940ea33 (patch) | |
tree | 48733b0cecc3733876d37470819493791e931023 /tunDevice.cpp | |
parent | added small logo (diff) |
fixed ipv6 support
Diffstat (limited to 'tunDevice.cpp')
-rw-r--r-- | tunDevice.cpp | 4 |
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() |