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
rG08523c8c63bb: Rename stable/13 to -STABLE now that releng/13.1 has branched
Branches
Unknown
Tags
Unknown