freebsd-src/sbin/ipf
Cy Schubert 1fc127c5e1 ipfilter: Reliably print the interface name
When printing the interface name from the ipstate_t struct the interface
name in is_ifp may not always be avaiable when reading it from kmem
(tested on FreeBSD and NetBSD). However the is_ifname (the interface
name character string) is almost always available -- it is not available
when the source of the packet is a process running on the firewall
itself. Rather than print both interface name strings, print only the
one.

(cherry picked from commit 93c1048a13)
2022-03-09 16:31:40 -08:00
..
common ipfilter: Introduce the new FORMAT_IF macro 2022-03-09 16:31:40 -08:00
ipf ipfilter: Fix manpage typos 2022-02-07 05:51:17 -08:00
ipfs ipfilter userland: Style(9) requires a space after return 2022-02-07 05:51:17 -08:00
ipfstat ipfilter userland: Style(9) requires a space after return 2022-02-07 05:51:17 -08:00
ipfsync ipfilter: Restore ipfsync 2022-02-07 05:51:18 -08:00
ipftest ipfilter: Fix manpage typos 2022-02-07 05:51:17 -08:00
iplang ipfilter: Adjust userland returns to conform to style(9) 2022-02-07 05:51:15 -08:00
ipmon ipfilter userland: Style(9) requires a space after return 2022-02-07 05:51:17 -08:00
ipnat ipfilter: Fix manpage typos 2022-02-07 05:51:17 -08:00
ippool ipfilter userland: Style(9) requires a space after return 2022-02-07 05:51:17 -08:00
ipresend ipfilter: Move userland bits to sbin 2022-02-07 05:51:14 -08:00
ipscan ipfilter: Adjust userland returns to conform to style(9) 2022-02-07 05:51:15 -08:00
ipsend ipfilter: Fix manpage typos 2022-02-07 05:51:17 -08:00
libipf ipfilter: Reliably print the interface name 2022-03-09 16:31:40 -08:00
Makefile ipfilter: Move userland bits to sbin 2022-02-07 05:51:14 -08:00
Makefile.inc ipfilter: Move userland bits to sbin 2022-02-07 05:51:14 -08:00