summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorkn <kn@cvs.openbsd.org>2020-10-06 17:38:29 +0000
committerkn <kn@cvs.openbsd.org>2020-10-06 17:38:29 +0000
commit1c69ccc2c7428708123fd9a075f5597290f1890b (patch)
treedc294cc1335184c17a1795ec82e871d13edb4a93 /regress
parentb4ef93b76c7e1fbabff7e1113e9781b0c3f94a6e (diff)
Fix "rtable N" check
pfctl parse.y r.1702 enforced rtables to exist at ruleset creation time but rtable 7 does not exist (this regress only tests the parser), so use 0. Spotted by tb.
Diffstat (limited to 'regress')
-rw-r--r--regress/sbin/pfctl/pf93.in2
-rw-r--r--regress/sbin/pfctl/pf93.ok2
2 files changed, 2 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/pf93.in b/regress/sbin/pfctl/pf93.in
index c506fe8770d..70dcaa9e8d5 100644
--- a/regress/sbin/pfctl/pf93.in
+++ b/regress/sbin/pfctl/pf93.in
@@ -1,2 +1,2 @@
# rtable selection
-pass in rtable 7
+pass in rtable 0
diff --git a/regress/sbin/pfctl/pf93.ok b/regress/sbin/pfctl/pf93.ok
index b76eb4c1033..909c9ec8921 100644
--- a/regress/sbin/pfctl/pf93.ok
+++ b/regress/sbin/pfctl/pf93.ok
@@ -1 +1 @@
-pass in all flags S/SA rtable 7
+pass in all flags S/SA rtable 0