]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: Track the original kif for floating states
authorKristof Provost <kp@FreeBSD.org>
Wed, 12 May 2021 11:24:57 +0000 (13:24 +0200)
committerKristof Provost <kp@FreeBSD.org>
Thu, 27 May 2021 07:06:14 +0000 (09:06 +0200)
commit48d771e579d5e651acbe47fb57c360939197d42f
tree5ae1a7d77b1fd604ac3ed9cd9391c0344bea6a09
parent59f8fc3fbf70d866ee20f0e37dcae0efcdace554
pf: Track the original kif for floating states

Track (and display) the interface that created a state, even if it's a
floating state (and thus uses virtual interface 'all').

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D30245

(cherry picked from commit d0fdf2b28f9b981d2cb98e9da8a715e046ef1e92)
lib/libpfctl/libpfctl.c
lib/libpfctl/libpfctl.h
sbin/pfctl/pf_print_state.c
sys/net/pfvar.h
sys/netpfil/pf/if_pfsync.c
sys/netpfil/pf/pf.c
sys/netpfil/pf/pf_ioctl.c