]> git.gsnw.org Git - fping.git/commit
work around NetBSD's lack of IP_RECVTOS
authorErik Auerswald <auerswal@unix-ag.uni-kl.de>
Wed, 7 Jan 2026 00:04:13 +0000 (01:04 +0100)
committerErik Auerswald <auerswal@unix-ag.uni-kl.de>
Sun, 11 Jan 2026 07:20:26 +0000 (08:20 +0100)
commit656759684f1b43321334a746a8b0a5376d058c23
tree90e83f757873074f92a19666eea3791a5c716e0b
parent5fe631e98f982eb19512ef5920cbceacfde3277e
work around NetBSD's lack of IP_RECVTOS

NetBSD does not know the IP_RECVTOS socket option.  Thus
conditionally compile setting this option only when it is
defined.

This is the same change as used in the NetBSD package[1],
with thanks to "adam".

[1] https://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/fping/patches/patch-src_fping.c?rev=1.5;content-type=text%2Fplain
src/fping.c