summaryrefslogtreecommitdiff
path: root/tunDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tunDevice.cpp')
-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()