let the icmp check use getsockopt IP_IPDEFTTL to get the default ttl
authorbenno <benno@openbsd.org>
Fri, 23 Oct 2015 12:22:02 +0000 (12:22 +0000)
committerbenno <benno@openbsd.org>
Fri, 23 Oct 2015 12:22:02 +0000 (12:22 +0000)
commit210013a336d04adce08d848a2a4e7dfdded0ac7a
tree1e277323f877704ef90f5b3a678d4477420c5b01
parent7d75329d78617624ea8a4ef1879cbc5182178e43
let the icmp check use getsockopt IP_IPDEFTTL to get the default ttl
instead of using sysctl. makes it possible to pledge hce.
usr.sbin/relayd/check_icmp.c