diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-11-28 14:51:06 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-11-28 14:51:06 +0000 |
commit | b269bad9228d0719bc8eac82512912e0e7e7aa36 (patch) | |
tree | ee1d1a90d78513174857649bc7e8d8072ab82ed3 /regress | |
parent | 0799ceb6aae0fc94e41a3d203b9f976d2c40099d (diff) |
test qlimit on altq rule
Diffstat (limited to 'regress')
-rw-r--r-- | regress/sbin/pfctl/pf35.in | 3 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf35.ok | 2 |
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 |