summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-04-05 21:50:15 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-04-05 21:50:15 +0000
commit575be11f5b6517a75123f0186dffae09da6bf46c (patch)
tree28fc8b8bb083bfd4d006f98d448a6b84c778e957 /regress/sbin/pfctl
parent24d1733a1b6fb1a95a4ee4c4f008aba5e9a579b2 (diff)
test dynaddr with netmask
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r--regress/sbin/pfctl/Makefile6
-rw-r--r--regress/sbin/pfctl/pf61.in4
-rw-r--r--regress/sbin/pfctl/pf61.loaded5
-rw-r--r--regress/sbin/pfctl/pf61.ok1
4 files changed, 13 insertions, 3 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile
index 12997aaa750..c3d6952ae37 100644
--- a/regress/sbin/pfctl/Makefile
+++ b/regress/sbin/pfctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.121 2003/04/05 21:47:57 henning Exp $
+# $OpenBSD: Makefile,v 1.122 2003/04/05 21:50:14 henning Exp $
# TARGETS
# pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok
@@ -12,13 +12,13 @@
PFTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
PFTESTS+=28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
-PFTESTS+=51 52 53 54 55 56 57 58 59 60
+PFTESTS+=51 52 53 54 55 56 57 58 59 60 61
PFFAIL=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
PFFAIL+=28 29 30 31 32 33 34
PFSIMPLE=1 2
PFSETUP=1 2 3
PFLOAD=1 2 3 4 5 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29
-PFLOAD+=30 31 32 34 36 38 39 40 44 46 47 49 54 56 60
+PFLOAD+=30 31 32 34 36 38 39 40 44 46 47 49 54 56 60 61
PFALTQ=1 2 3 4 5 6 7 8 9
# disabled; no altq in anchors
# PFLOAD+=33 35 37 42 43 45 51 58 59
diff --git a/regress/sbin/pfctl/pf61.in b/regress/sbin/pfctl/pf61.in
new file mode 100644
index 00000000000..7343a39ee64
--- /dev/null
+++ b/regress/sbin/pfctl/pf61.in
@@ -0,0 +1,4 @@
+# dynaddr with netmask
+
+pass inet to (lo0)/24
+
diff --git a/regress/sbin/pfctl/pf61.loaded b/regress/sbin/pfctl/pf61.loaded
new file mode 100644
index 00000000000..2a4a645844d
--- /dev/null
+++ b/regress/sbin/pfctl/pf61.loaded
@@ -0,0 +1,5 @@
+@0 pass inet from any to (lo0)/24
+[ Skip steps: i=end d=end f=end p=end sa=end sp=end da=end dp=end ]
+[ queue: qname= qid=0 pqname= pqid=0 ]
+[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
+
diff --git a/regress/sbin/pfctl/pf61.ok b/regress/sbin/pfctl/pf61.ok
new file mode 100644
index 00000000000..355c22854ee
--- /dev/null
+++ b/regress/sbin/pfctl/pf61.ok
@@ -0,0 +1 @@
+pass inet from any to (lo0)/24