aboutsummaryrefslogtreecommitdiff
path: root/sys/miscfs/kernfs/(public-mirror)
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2025-07-01 09:41:12 +0000
committerKristof Provost <kp@FreeBSD.org>2025-07-04 08:31:13 +0000
commit945ba658d8036102729e3ae7809c56879bf1e259 (patch)
tree7a24b0649661d35992ec25cccb6ffbe500f026e8 /sys/miscfs/kernfs/(public-mirror)
parent3c24dfa30bb9e2d90ab643758628b7586fa40f06 (diff)
pfctl: Error out on missing table command, zap internal wrapper functionHEADmain
Table name and table command require each other as reflected in the synopsis [-t table -T command [address ...]], so print usage and exit if only one of them is given. By moving the inter-dependence check right after option parsing is done, we can bail out even before opening pf(4) and drop the internal wrapper pfctl_command_tables() as unneeded indirection with now duplicate checks. OK sashan Obtained from: OpenBSD, kn <kn@openbsd.org>, 97699edbc9 Sponsored by: Rubicon Communications, LLC ("Netgate")
Diffstat (limited to 'sys/miscfs/kernfs/(public-mirror)')
0 files changed, 0 insertions, 0 deletions