]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pfctl: print ethernet rules when called with '-n'
authorKristof Provost <kp@FreeBSD.org>
Fri, 21 Jan 2022 15:37:21 +0000 (16:37 +0100)
committerKristof Provost <kp@FreeBSD.org>
Wed, 2 Mar 2022 16:00:08 +0000 (17:00 +0100)
commitc32cd18055c01f2460950351accfe79f87a24c43
treed31ff61c406a8856d09a53bff2d58cc4731f8ff3
parent0d889267408e85a1e37baa8d2d660c32dc11ceef
pfctl: print ethernet rules when called with '-n'

Just as pfctl already does for other rules we print the ethernet rules
we would have loaded if '-n' is specified.

Sponsored by: Rubicon Communications, LLC ("Netgate")
sbin/pfctl/parse.y
sbin/pfctl/pfctl.c
sbin/pfctl/pfctl_parser.h