]> git.meshlink.io Git - meshlink/commit
Try to set DF bit on BSDs as well.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 2 Feb 2010 21:22:27 +0000 (22:22 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 2 Feb 2010 21:22:27 +0000 (22:22 +0100)
commit44f8f61396a92c899172a1863bbc9c705cbfa649
tree9b68f98fa5156d580074b786c5cdff9a73626ea7
parented14ef93b47622ba13099dfc6be5335222e987a6
Try to set DF bit on BSDs as well.

Every operating system seems to have its own, slightly different way to disable
packet fragmentation. Emit a compiler warning when no suitable way is found.
On OpenBSD, it seems impossible to do it for IPv4.
src/net_socket.c