freebsd-dev/sbin/ipf
Cy Schubert 93c1048a13 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.

MFC after:	1 week
2022-03-03 06:43:12 -08:00
..
common ipfilter: Introduce the new FORMAT_IF macro 2022-03-03 06:43:11 -08:00
ipf ipfilter: Fix manpage typos 2022-01-04 07:11:00 -08:00
ipfs ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
ipfstat ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
ipfsync ipfilter: Restore ipfsync 2022-01-07 21:46:53 -08:00
ipftest ipfilter: Fix manpage typos 2022-01-04 07:11:00 -08:00
iplang ipfilter: Adjust userland returns to conform to style(9) 2022-01-03 18:06:43 -08:00
ipmon ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
ipnat ipfilter: Fix manpage typos 2022-01-04 07:11:00 -08:00
ippool ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
ipresend ipfilter: Move userland bits to sbin 2021-12-20 06:16:33 -08:00
ipscan ipfilter: Adjust userland returns to conform to style(9) 2022-01-03 18:06:43 -08:00
ipsend ipfilter: Fix manpage typos 2022-01-04 07:11:00 -08:00
libipf ipfilter: Reliably print the interface name 2022-03-03 06:43:12 -08:00
Makefile ipfilter: Move userland bits to sbin 2021-12-20 06:16:33 -08:00
Makefile.inc ipfilter: Move userland bits to sbin 2021-12-20 06:16:33 -08:00