summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrantzen <frantzen@openbsd.org>2002-06-07 18:35:55 +0000
committerfrantzen <frantzen@openbsd.org>2002-06-07 18:35:55 +0000
commit576ea8dbaad99355cc348be28e59de9224681945 (patch)
treee595a0118e37ea00b20044f755d0654fe0199cc8
parentDon't try to send a packet we don't have if rl_encap fails. (diff)
downloadwireguard-openbsd-576ea8dbaad99355cc348be28e59de9224681945.tar.xz
wireguard-openbsd-576ea8dbaad99355cc348be28e59de9224681945.zip
regress test IPv6 scopes
-rw-r--r--regress/sbin/pfctl/pf14.in6
-rw-r--r--regress/sbin/pfctl/pf14.ok6
2 files changed, 12 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf14.in b/regress/sbin/pfctl/pf14.in
new file mode 100644
index 00000000000..eaca6de0fbf
--- /dev/null
+++ b/regress/sbin/pfctl/pf14.in
@@ -0,0 +1,6 @@
+pass in quick on lo0 from fe80::1%lo0 to fe80::1%lo0
+pass in quick from fe80::1%lo0 to fe80::1%lo0
+pass in quick from fe80::1%lo0 to any
+pass in quick from any to fe80::1%lo0
+pass in quick on lo0 from fe80::1%lo0 to any
+pass in quick on lo0 from any to fe80::1%lo0
diff --git a/regress/sbin/pfctl/pf14.ok b/regress/sbin/pfctl/pf14.ok
new file mode 100644
index 00000000000..b92e958e604
--- /dev/null
+++ b/regress/sbin/pfctl/pf14.ok
@@ -0,0 +1,6 @@
+@0 pass in quick on lo0 inet6 from fe80::1 to fe80::1
+@1 pass in quick on lo0 inet6 from fe80::1 to fe80::1
+@2 pass in quick on lo0 inet6 from fe80::1 to any
+@3 pass in quick on lo0 inet6 from any to fe80::1
+@4 pass in quick on lo0 inet6 from fe80::1 to any
+@5 pass in quick on lo0 inet6 from any to fe80::1