diff --git a/reactos/dll/win32/wshtcpip/wshtcpip.c b/reactos/dll/win32/wshtcpip/wshtcpip.c index 7620d6a3373..80585992f55 100644 --- a/reactos/dll/win32/wshtcpip/wshtcpip.c +++ b/reactos/dll/win32/wshtcpip/wshtcpip.c @@ -207,9 +207,9 @@ GetTdiTypeId( break; case IPPROTO_TCP: + *TdiType = INFO_TYPE_CONNECTION; switch (OptionName) { - *TdiType = INFO_TYPE_CONNECTION; case TCP_NODELAY: *TdiId = TCP_SOCKET_NODELAY; return;