From 2fbd48f9f927dbd93974e8e6d985815331a12b15 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 22 Feb 2009 03:53:14 +0000 Subject: fixed build on Windows (after logging chances) --- src/win32/tunDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/win32') 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; -- cgit v1.2.3