HomeFreeBSD

pfctl: report ICMP states consistently for IPv4/IPv6

Description

pfctl: report ICMP states consistently for IPv4/IPv6

Remove the '#ifndef INET6', which never actually mattered because this
define is never set. This makes us report ICMP states for IPv4 and IPv6
the same way (and also aligns us with OpenBSD).

This means we will now always report state 0:0 rather than
NO_TRAFFIC:NO_TRAFFIC for icmp6 (like we already did for icmp).

Reported by: Lev Prokofev <lev@netgate.com>
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Dec 12 2025, 5:07 PM
Parents
rG2f29d0f3e6d2: mtree: tests: Import NetBSD's mtree test suite
Branches
Unknown
Tags
Unknown