From 2b3a72143af34177543c8542ccd57866d78cb275 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 6 Feb 2010 16:03:13 +0000 Subject: removed NO_EXEC added NOMINMAX to windows build targets --- src/bsd/tunDevice.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/bsd/tunDevice.cpp') diff --git a/src/bsd/tunDevice.cpp b/src/bsd/tunDevice.cpp index 1413b5f..9cd58df 100644 --- a/src/bsd/tunDevice.cpp +++ b/src/bsd/tunDevice.cpp @@ -253,7 +253,6 @@ int TunDevice::write(u_int8_t* buf, u_int32_t len) 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()); @@ -272,7 +271,6 @@ void TunDevice::do_ifconfig() #endif } sys_exec_ = new SysExec("/sbin/ifconfig", args); -#endif } void TunDevice::waitUntilReady() -- cgit v1.2.3