From 09f159f900a2ed43315a5d7ddbcc19d779f35183 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Wed, 12 Mar 2003 15:50:31 +0000 Subject: use gif3 instead of lo0 for this test and thus avoid the mtu issue on loopback interfaces with 64bit archs. as the minimum bandwidth calculation includes mtu and it is given in the error message... go figure --- regress/sbin/pfctl/pfail32.in | 2 +- regress/sbin/pfctl/pfail32.ok | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) (limited to 'regress/sbin') diff --git a/regress/sbin/pfctl/pfail32.in b/regress/sbin/pfctl/pfail32.in index ef4d07a246a..bed86c57149 100644 --- a/regress/sbin/pfctl/pfail32.in +++ b/regress/sbin/pfctl/pfail32.in @@ -1,4 +1,4 @@ # queue doubly defined on one interface -altq on lo0 cbq bandwidth 100Kb queue { eins, zwei } +altq on gif3 cbq bandwidth 100Kb queue { eins, zwei } queue eins cbq (default) { zwei } queue zwei diff --git a/regress/sbin/pfctl/pfail32.ok b/regress/sbin/pfctl/pfail32.ok index 81cb9be8e74..96bf886a39b 100644 --- a/regress/sbin/pfctl/pfail32.ok +++ b/regress/sbin/pfctl/pfail32.ok @@ -1,11 +1,5 @@ -pfctl: queue bandwidth must be larger than 123.77Kb -cbq: queue root_lo0 is too slow! -pfctl: queue bandwidth must be larger than 123.77Kb -cbq: queue eins is too slow! -pfctl: queue bandwidth must be larger than 123.77Kb -cbq: queue zwei is too slow! -queue zwei already exists on interface lo0 +queue zwei already exists on interface gif3 pfctl: Syntax error in file: pf rules not loaded -altq on lo0 cbq bandwidth 100Kb tbrsize 33224 queue { eins zwei } +altq on gif3 cbq bandwidth 100Kb tbrsize 1280 queue { eins zwei } queue eins cbq( default ) { zwei } queue zwei -- cgit v1.2.3