summaryrefslogtreecommitdiff
path: root/src/win32
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-02-22 03:53:14 +0000
committerChristian Pointner <equinox@anytun.org>2009-02-22 03:53:14 +0000
commit2fbd48f9f927dbd93974e8e6d985815331a12b15 (patch)
tree1dfd1cd14f1ab125d0ec114fefb089fa763cb0ca /src/win32
parentadded extended logging capability (diff)
fixed build on Windows (after logging chances)
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/tunDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/tunDevice.cpp b/src/win32/tunDevice.cpp
index 538269e..9d95b30 100644
--- a/src/win32/tunDevice.cpp
+++ b/src/win32/tunDevice.cpp
@@ -277,7 +277,7 @@ void TunDevice::do_ifconfig()
}
u_long mtu;
- err = performIoControl(TAP_IOCTL_CONFIG_DHCP_MASQ, &mtu, sizeof(mtu), &mtu, sizeof(mtu));
+ err = performIoControl(TAP_IOCTL_GET_MTU, &mtu, sizeof(mtu), &mtu, sizeof(mtu));
if(err != ERROR_SUCCESS) {
CloseHandle(handle_);
std::stringstream msg;