summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pfaltq7.in
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-04-03 14:20:10 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-04-03 14:20:10 +0000
commit5c768ec5c3f404ee20b4f0aec19b339d0a1ee96b (patch)
tree152be23f4fe3a5a80c36b7ddfe46917d8ecfc4a7 /regress/sbin/pfctl/pfaltq7.in
parent42a1c5b3e569b9a1279e515df784416243eaaa05 (diff)
differently named queues on different interfaces must get different queue
IDs. this conflicts with the way priq works now, where queueID = priority + 1 thus, this test fails atm.
Diffstat (limited to 'regress/sbin/pfctl/pfaltq7.in')
-rw-r--r--regress/sbin/pfctl/pfaltq7.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pfaltq7.in b/regress/sbin/pfctl/pfaltq7.in
new file mode 100644
index 00000000000..9678a7e1653
--- /dev/null
+++ b/regress/sbin/pfctl/pfaltq7.in
@@ -0,0 +1,12 @@
+# more complicated case to provoke queue id assignment errors:
+# -differently named queues have same priority, must get different qids
+# goes back to the historical queue ID assignment algorithm with priq
+# was: qid = priority + 1
+
+altq on lo0 tbrsize 1824 bandwidth 10Mb priq queue eins
+queue eins priority 2 priq(default)
+
+altq on tun0 tbrsize 1824 bandwidth 33600b priq queue zwei
+queue zwei priority 2 priq(default)
+
+