From 486e2b3a8303ffbbd85827d7084be01da940ea33 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Mon, 7 Apr 2008 20:12:09 +0000 Subject: fixed ipv6 support --- tunDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tunDevice.cpp') 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() -- cgit v1.2.3