HomeFreeBSD

ipfilter: Introduce the new FORMAT_IF macro

Description

ipfilter: Introduce the new FORMAT_IF macro

Interface names stored in the ipstate_t and ipnat_t structures can be
NULL. This occurs when an application, such as named, is running on the
firewall machine itself. For example an application, i.e. named, running
on the firewall itself will cause a state table display and NAT mapping
display to show a null ingress interface and its egress interface. This
is perfectly valid but confusing to human eyes. Rather than print
nothing, print "(null)".

(cherry picked from commit 915395a2800a09a64ae41ca96eabcb5e16b44309)

Details

Provenance
cyAuthored on Mar 3 2022, 6:21 AM
Parents
rG1987ff8abca2: cam: don't lock while handling an AC_UNIT_ATTENTION
Branches
Unknown
Tags
Unknown