Use IP_DONTFRAGMENT instead of IP_MTU_DISCOVER on Windows.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 24 Oct 2009 20:32:35 +0000 (22:32 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 24 Oct 2009 20:32:35 +0000 (22:32 +0200)
commitc3acae034c4da2d1c70f31b852b14ca098c0eeb9
treedd70c3af4f5023e2a9e22726eb51ad0ca50e104f
parent242c4e2ca67d0b5c78dfe6e68a5ddcd27be1de99
Use IP_DONTFRAGMENT instead of IP_MTU_DISCOVER on Windows.

This ensures the DF bit on outgoing UDP packets gets set on Windows when path
MTU discovery is enabled, reducing fragmentation.
src/net_socket.c