CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/01/02 16:08:00
Modified files:
sbin/pfctl : pfctl.c pfctl.h pfctl_table.c
Log message:
Error out on missing table command, zap internal wrapper function
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