fix table commands under anchors
authorkn <kn@openbsd.org>
Tue, 18 Sep 2018 12:55:19 +0000 (12:55 +0000)
committerkn <kn@openbsd.org>
Tue, 18 Sep 2018 12:55:19 +0000 (12:55 +0000)
commit0e2b7406a2bdd4740411992876053a40cd60789f
tree458f5deac73db102dd4f9e3f6c6dd9a29d8c5770
parent6aefe918591d27531ad7f69a30a4885ecce27944
fix table commands under anchors

With r1.358 I simplified anchor handling but also broke semantics with
regard to tables:

# pfctl -a aname -t tname -T show
pfctl: anchors apply to -f, -F and -s only

Unbreak this by checking for table commands as well.

OK bluhm
sbin/pfctl/pfctl.8
sbin/pfctl/pfctl.c