diff options
Diffstat (limited to 'src/linux')
-rw-r--r-- | src/linux/tunDevice.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/linux/tunDevice.cpp b/src/linux/tunDevice.cpp index f4d6a72..ee6ac0e 100644 --- a/src/linux/tunDevice.cpp +++ b/src/linux/tunDevice.cpp @@ -158,12 +158,10 @@ void TunDevice::init_post() void TunDevice::do_ifconfig() { -#ifndef NO_EXEC std::ostringstream mtu_ss; mtu_ss << conf_.mtu_; StringVector args = boost::assign::list_of(actual_name_)(conf_.addr_.toString())("netmask")(conf_.netmask_.toString())("mtu")(mtu_ss.str()); sys_exec_ = new SysExec("/sbin/ifconfig", args); -#endif } void TunDevice::waitUntilReady() |