summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2002-12-24 13:45:52 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2002-12-24 13:45:52 +0000
commit0ea85ae72bc6e1b5886541ba50ed0b4dd86ad809 (patch)
treeb7a2afaeb799b17e973df0e7376ef241b888fc1d /regress/sbin/pfctl
parent2ee553f139f0c916d7d6ab49f1947aefdc524500 (diff)
add cbq "control" keyword to regress test
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r--regress/sbin/pfctl/pf33.in3
-rw-r--r--regress/sbin/pfctl/pf33.ok3
2 files changed, 4 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/pf33.in b/regress/sbin/pfctl/pf33.in
index c54583d6d7d..a8a1c098629 100644
--- a/regress/sbin/pfctl/pf33.in
+++ b/regress/sbin/pfctl/pf33.in
@@ -1,7 +1,8 @@
ext_if = "lo0"
altq on $ext_if cbq bandwidth 10Mb tbrsize 1824 \
- queue { deflt, http, ssh, mail, rsets }
+ queue { ctrl, deflt, http, ssh, mail, rsets }
+queue ctrl bandwidth 5% priority 0 cbq(control)
queue deflt bandwidth 10% priority 0 cbq(default ecn)
queue http bandwidth 1.5Mb priority 3 { http_vhosts, http_cust1 }
queue http_vhosts bandwidth 40% cbq(borrow red)
diff --git a/regress/sbin/pfctl/pf33.ok b/regress/sbin/pfctl/pf33.ok
index c2ac3af6fcf..aa811216ae1 100644
--- a/regress/sbin/pfctl/pf33.ok
+++ b/regress/sbin/pfctl/pf33.ok
@@ -1,5 +1,6 @@
ext_if = "lo0"
-altq on lo0 cbq bandwidth 10.00Mb tbrsize 1824 queue { deflt http ssh mail rsets }
+altq on lo0 cbq bandwidth 10.00Mb tbrsize 1824 queue { ctrl deflt http ssh mail rsets }
+queue ctrl bandwidth 500.00Kb priority 0 cbq( control )
queue deflt bandwidth 1.00Mb priority 0 cbq( red ecn default )
queue http bandwidth 1.50Mb priority 3 { http_vhosts http_cust1 }
queue http_vhosts bandwidth 600.00Kb cbq( red borrow )