summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r--regress/sbin/pfctl/pf35.in3
-rw-r--r--regress/sbin/pfctl/pf35.ok2
2 files changed, 3 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/pf35.in b/regress/sbin/pfctl/pf35.in
index a85b2573ab8..a7d04741aa4 100644
--- a/regress/sbin/pfctl/pf35.in
+++ b/regress/sbin/pfctl/pf35.in
@@ -1,12 +1,13 @@
#test matching on tos; test queue rules which specify qlimit, test altq rule
#with tbrsize specification, test queue rules which do not specify bandwidth,
#test queue rule which doesn't specify anything
+#test altq rule with qlimit spec
intf = "lo0"
developerhosts="10.0.0.0/24"
employeehosts="10.0.1.0/24"
-altq on $intf scheduler cbq(ecn) bandwidth 10Mb tbrsize 5000 \
+altq on $intf scheduler cbq(ecn) bandwidth 10Mb qlimit 100 tbrsize 5000 \
queue { std, http, mail, ssh }
queue std bandwidth 10% qlimit 1 cbq(default)
diff --git a/regress/sbin/pfctl/pf35.ok b/regress/sbin/pfctl/pf35.ok
index f1cc4e6cc45..690e4fc97ca 100644
--- a/regress/sbin/pfctl/pf35.ok
+++ b/regress/sbin/pfctl/pf35.ok
@@ -1,7 +1,7 @@
intf = lo0
developerhosts = 10.0.0.0/24
employeehosts = 10.0.1.0/24
-altq on lo0 scheduler cbq( red ecn ) bandwidth 10.00Mb tbrsize 5000 queue { std http mail ssh }
+altq on lo0 scheduler cbq( red ecn ) bandwidth 10.00Mb qlimit 100 tbrsize 5000 queue { std http mail ssh }
queue std bandwidth 1000.00Kb qlimit 1 cbq( default )
queue http bandwidth 6.00Mb priority 2 cbq( red borrow ) { employees developers }
queue developers bandwidth 6.00Mb