summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/sbin/pfctl/pf8.in3
-rw-r--r--regress/sbin/pfctl/pf8.ok9
2 files changed, 8 insertions, 4 deletions
diff --git a/regress/sbin/pfctl/pf8.in b/regress/sbin/pfctl/pf8.in
index 44587b6f654..6d774d0b9db 100644
--- a/regress/sbin/pfctl/pf8.in
+++ b/regress/sbin/pfctl/pf8.in
@@ -1,2 +1,3 @@
-extern = "{ ! 10.0.0.0/8, 10.1.2.3 }"
+extern = "{ ! 10.0.0.0/8, 10.1.2.3, "
+extern += "10.1.2.4, 10.1.2.5 }"
block out log on tun1 from $extern to any
diff --git a/regress/sbin/pfctl/pf8.ok b/regress/sbin/pfctl/pf8.ok
index fcb4edfa2b5..dc327943449 100644
--- a/regress/sbin/pfctl/pf8.ok
+++ b/regress/sbin/pfctl/pf8.ok
@@ -1,3 +1,6 @@
-extern = { ! 10.0.0.0/8, 10.1.2.3 }
-@0 block out log on tun1 inet from 10.1.2.3 to any
-@1 block out log on tun1 inet from ! 10.0.0.0/8 to any
+extern = { ! 10.0.0.0/8, 10.1.2.3,
+extern += 10.1.2.4, 10.1.2.5 }
+@0 block out log on tun1 inet from 10.1.2.5 to any
+@1 block out log on tun1 inet from 10.1.2.4 to any
+@2 block out log on tun1 inet from 10.1.2.3 to any
+@3 block out log on tun1 inet from ! 10.0.0.0/8 to any