ws2_32: Silently ignore WS_IP_DONTFRAGMENT.

This commit is contained in:
Damjan Jovanovic 2007-10-04 08:48:57 +02:00 committed by Alexandre Julliard
parent 58639cc814
commit 5591c969a6
1 changed files with 7 additions and 0 deletions

View File

@ -1924,6 +1924,10 @@ INT WINAPI WS_getsockopt(SOCKET s, INT level,
}
release_sock_fd( s, fd );
return ret;
case WS_IP_DONTFRAGMENT:
FIXME("WS_IP_DONTFRAGMENT is always false!\n");
*(BOOL*)optval = FALSE;
return 0;
}
FIXME("Unknown IPPROTO_IP optname 0x%08x\n", optname);
return SOCKET_ERROR;
@ -3008,6 +3012,9 @@ int WINAPI WS_setsockopt(SOCKET s, int level, int optname,
case WS_IP_TTL:
convert_sockopt(&level, &optname);
break;
case WS_IP_DONTFRAGMENT:
FIXME("IP_DONTFRAGMENT is silently ignored!\n");
return 0;
default:
FIXME("Unknown IPPROTO_IP optname 0x%08x\n", optname);
return SOCKET_ERROR;