summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpf <mpf@openbsd.org>2007-09-19 12:54:52 +0000
committermpf <mpf@openbsd.org>2007-09-19 12:54:52 +0000
commitecd210b2c9ffcbad72927eb4a56a6c27b2be63ee (patch)
tree88e50f8abb529b46a6f1d489b68acd11bbf91efb
parent"flags S/SA keep state" is the default now (diff)
downloadwireguard-openbsd-ecd210b2c9ffcbad72927eb4a56a6c27b2be63ee.tar.xz
wireguard-openbsd-ecd210b2c9ffcbad72927eb4a56a6c27b2be63ee.zip
pfctl seems to report errors when accessing empty tables,
in a different manner now. Use "-T show" now. OK henning
-rw-r--r--regress/sbin/pfctl/pfr12.in4
-rw-r--r--regress/sbin/pfctl/pfr12.ok14
2 files changed, 6 insertions, 12 deletions
diff --git a/regress/sbin/pfctl/pfr12.in b/regress/sbin/pfctl/pfr12.in
index d46c89b18d3..82be321392a 100644
--- a/regress/sbin/pfctl/pfr12.in
+++ b/regress/sbin/pfctl/pfr12.in
@@ -1,14 +1,14 @@
# hidden tables created by rules
pass list
pass kill
-pass list
+pass show
pass rule pass in from <regress> to any
pass list
pass list
pass rule
pass list
pass kill
-pass list
+pass show
pass rule pass in from <regress> to any
pass list
pass load table <regress> persist
diff --git a/regress/sbin/pfctl/pfr12.ok b/regress/sbin/pfctl/pfr12.ok
index d1b9cbeae26..d33ebf3c16b 100644
--- a/regress/sbin/pfctl/pfr12.ok
+++ b/regress/sbin/pfctl/pfr12.ok
@@ -5,10 +5,8 @@ regress
-pa--- regress regress
# pass kill
1 table deleted.
-# pass list
-pfctl: Anchor or Ruleset does not exist.
-# pass list -v
-pfctl: Anchor or Ruleset does not exist.
+# pass show
+pfctl: Table does not exist.
# pass rule pass in from <regress> to any
# pass list
# pass list -v
@@ -18,15 +16,11 @@ pfctl: Anchor or Ruleset does not exist.
----r- regress regress
# pass rule
# pass list
-pfctl: Anchor or Ruleset does not exist.
# pass list -v
-pfctl: Anchor or Ruleset does not exist.
# pass kill
0 table deleted.
-# pass list
-pfctl: Anchor or Ruleset does not exist.
-# pass list -v
-pfctl: Anchor or Ruleset does not exist.
+# pass show
+pfctl: Table does not exist.
# pass rule pass in from <regress> to any
# pass list
# pass list -v