diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-12-16 22:21:20 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-12-16 22:21:20 +0000 |
commit | 7e3b816ef9b90d29f779e0f46a0da6558a499c87 (patch) | |
tree | f56740a6bd117726618b754b2d27b8e95239d245 /regress/sbin | |
parent | 6120059343c1d6ded9817bfb19f21c52540ce233 (diff) |
loopback interface MTU differs on 64 bit archs.
interface MTU is part of the tbrsize calculation.
thus we need to specify the tbrsize in the input files to make the tests
work on 64 bit platforms.
Diffstat (limited to 'regress/sbin')
-rw-r--r-- | regress/sbin/pfctl/pf33.in | 2 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf37.in | 2 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf42.in | 2 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf43.in | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/regress/sbin/pfctl/pf33.in b/regress/sbin/pfctl/pf33.in index 1663f57441b..c54583d6d7d 100644 --- a/regress/sbin/pfctl/pf33.in +++ b/regress/sbin/pfctl/pf33.in @@ -1,6 +1,6 @@ ext_if = "lo0" -altq on $ext_if cbq bandwidth 10Mb \ +altq on $ext_if cbq bandwidth 10Mb tbrsize 1824 \ queue { deflt, http, ssh, mail, rsets } queue deflt bandwidth 10% priority 0 cbq(default ecn) queue http bandwidth 1.5Mb priority 3 { http_vhosts, http_cust1 } diff --git a/regress/sbin/pfctl/pf37.in b/regress/sbin/pfctl/pf37.in index 60d228ac442..8d71adb0533 100644 --- a/regress/sbin/pfctl/pf37.in +++ b/regress/sbin/pfctl/pf37.in @@ -1,5 +1,5 @@ #test altq with interface expansion #also tests multiple queues with the same name but on different interfaces -altq on { lo0 lo1 } cbq bandwidth 10Mb queue std +altq on { lo0 lo1 } tbrsize 1824 cbq bandwidth 10Mb queue std queue std cbq(default) diff --git a/regress/sbin/pfctl/pf42.in b/regress/sbin/pfctl/pf42.in index 45e2aea5749..9270158efe4 100644 --- a/regress/sbin/pfctl/pf42.in +++ b/regress/sbin/pfctl/pf42.in @@ -2,7 +2,7 @@ ext_if = "lo0" -altq on $ext_if bandwidth 10Mb cbq \ +altq on $ext_if bandwidth 10Mb tbrsize 1824 cbq \ queue { deflt, http, ssh, mail, rsets } queue deflt cbq(default ecn) bandwidth 10% priority 0 queue http priority 3 bandwidth 1.5Mb { http_vhosts, http_cust1 } diff --git a/regress/sbin/pfctl/pf43.in b/regress/sbin/pfctl/pf43.in index c8cb87910bf..4cccca06001 100644 --- a/regress/sbin/pfctl/pf43.in +++ b/regress/sbin/pfctl/pf43.in @@ -1,6 +1,6 @@ #test various forms of queue assignment -altq on lo0 bandwidth 100Mb cbq queue { bulk, prio } +altq on lo0 tbrsize 3648 bandwidth 100Mb cbq queue { bulk, prio } queue bulk priority 1 cbq(default) queue prio priority 7 pass in on lo0 inet proto tcp from any to lo0 port 22 queue (bulk prio) |