diff options
author | Christian Pointner <equinox@anytun.org> | 2010-02-06 16:03:13 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2010-02-06 16:03:13 +0000 |
commit | 2b3a72143af34177543c8542ccd57866d78cb275 (patch) | |
tree | d05800530d3c9f0d15a44869c1cf4c0c5d9f9894 /src/bsd/tunDevice.cpp | |
parent | removed Doxygen config (diff) |
removed NO_EXEC
added NOMINMAX to windows build targets
Diffstat (limited to 'src/bsd/tunDevice.cpp')
-rw-r--r-- | src/bsd/tunDevice.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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() |