summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pfaltq6.in
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-03-11 15:26:45 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-03-11 15:26:45 +0000
commit67a920ad742b4f4b71351a51b5a0911be42fff27 (patch)
tree3a9734d029bc417ad5a2f85e79c9e5804cec20db /regress/sbin/pfctl/pfaltq6.in
parente2e3c12c6a48b0ec3a0fa2850216935b1eb8adbd (diff)
check for rules getting qid and pqid set with cbq
Diffstat (limited to 'regress/sbin/pfctl/pfaltq6.in')
-rw-r--r--regress/sbin/pfctl/pfaltq6.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pfaltq6.in b/regress/sbin/pfctl/pfaltq6.in
new file mode 100644
index 00000000000..dfab1585dc8
--- /dev/null
+++ b/regress/sbin/pfctl/pfaltq6.in
@@ -0,0 +1,12 @@
+# verify the queue IDs on the rules are set correctly
+
+altq on lo0 tbrsize 1824 cbq bandwidth 10Mb queue { wim, the minibar is empty }
+queue wim bandwidth 10% cbq(default)
+queue the bandwidth 10%
+queue minibar bandwidth 80% priority 7
+queue is bandwidth 10%
+queue empty bandwidth 90%
+pass in on lo0 proto tcp to port 22 keep state queue(the minibar)
+pass in proto tcp to port 22 keep state queue(is empty)
+pass in proto tcp to port 22 keep state queue the
+pass in proto tcp to port 25 keep state queue wim