From b269bad9228d0719bc8eac82512912e0e7e7aa36 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Thu, 28 Nov 2002 14:51:06 +0000 Subject: test qlimit on altq rule --- regress/sbin/pfctl/pf35.in | 3 ++- regress/sbin/pfctl/pf35.ok | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'regress') 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 -- cgit v1.2.3