Avoid unhelpful warnings about UDP buffer sizes.
authorGuus Sliepen <guus@tinc-vpn.org>
Wed, 21 Jul 2021 10:15:59 +0000 (12:15 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Wed, 21 Jul 2021 10:15:59 +0000 (12:15 +0200)
Don't log a warning if we never explicitly configured the
SO_RCVBUF/SO_SNDBUF sizes, and don't warn if the system allocates a
larger buffer than the one requested, as at least on Linux, it will
always double the requested size unless you hit the maximum. With this
change, we only warn when we explicitly request a buffer size and the
system allocated a smaller one.


No differences found