summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-10-07 13:45:59 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-10-07 13:45:59 +0000
commitf60c0e77783ccaf7b327986fb14af84d2eda85a0 (patch)
treef4e4b5e3d5e8bf9dedb6c487f3815be9548f5632
parent98d5b9ded013fe50017ad6c23b6d866f02335f49 (diff)
test new return-icmp syntax
-rw-r--r--regress/sbin/pfctl/pf10.in3
-rw-r--r--regress/sbin/pfctl/pf10.ok10
2 files changed, 8 insertions, 5 deletions
diff --git a/regress/sbin/pfctl/pf10.in b/regress/sbin/pfctl/pf10.in
index b772b885353..412ad48b820 100644
--- a/regress/sbin/pfctl/pf10.in
+++ b/regress/sbin/pfctl/pf10.in
@@ -27,4 +27,5 @@ block return-icmp6(3) in inet6 proto ipv6-icmp all
block return-icmp6(addr-unr) in inet6 proto ipv6-icmp all
block return-icmp6(4) in inet6 proto ipv6-icmp all
block return-icmp6(port-unr) in inet6 proto ipv6-icmp all
-
+block return-icmp(5, 1) in all
+block return-icmp(srcfail, admin-unr) in all
diff --git a/regress/sbin/pfctl/pf10.ok b/regress/sbin/pfctl/pf10.ok
index d8128faa3f6..583d28b5d47 100644
--- a/regress/sbin/pfctl/pf10.ok
+++ b/regress/sbin/pfctl/pf10.ok
@@ -6,7 +6,7 @@
@5 block return-rst in inet6 proto tcp all
@6 block return-rst(ttl 10) in inet proto tcp all
@7 block return-rst(ttl 10) in inet6 proto tcp all
-@8 block return-icmp in inet proto icmp all
+@8 block return-icmp(port-unr) in inet proto icmp all
@9 block return-icmp(net-unr) in inet proto icmp all
@10 block return-icmp(net-unr) in inet proto icmp all
@11 block return-icmp(srcfail) in inet proto icmp all
@@ -15,7 +15,7 @@
@14 block return-icmp(host-prohib) in inet proto icmp all
@15 block return-icmp(cutoff-preced) in inet proto icmp all
@16 block return-icmp(cutoff-preced) in inet proto icmp all
-@17 block return-icmp6 in inet6 proto ipv6-icmp all
+@17 block return-icmp6(port-unr) in inet6 proto ipv6-icmp all
@18 block return-icmp6(noroute-unr) in inet6 proto ipv6-icmp all
@19 block return-icmp6(noroute-unr) in inet6 proto ipv6-icmp all
@20 block return-icmp6(admin-unr) in inet6 proto ipv6-icmp all
@@ -24,5 +24,7 @@
@23 block return-icmp6(notnbr-unr) in inet6 proto ipv6-icmp all
@24 block return-icmp6(addr-unr) in inet6 proto ipv6-icmp all
@25 block return-icmp6(addr-unr) in inet6 proto ipv6-icmp all
-@26 block return-icmp6 in inet6 proto ipv6-icmp all
-@27 block return-icmp6 in inet6 proto ipv6-icmp all
+@26 block return-icmp6(port-unr) in inet6 proto ipv6-icmp all
+@27 block return-icmp6(port-unr) in inet6 proto ipv6-icmp all
+@28 block return-icmp(srcfail, admin-unr) in all
+@29 block return-icmp(srcfail, admin-unr) in all