[PATCH] ipfw pipe bandwidth parameter parser.
Luigi Rizzo
rizzo at iet.unipi.it
Mon Jun 14 22:11:42 UTC 2010
On Mon, Jun 14, 2010 at 11:01:43PM +0100, Ermal Lu?i wrote:
> Hello,
>
> on FreeBSD-STABLE at least ipfw wrongly interprets dummynet
> configurations of the type:
>
> pipe 10 config bw 1.5Mb
> ^^^
Given that there is an easy workaround (use bw 1500Kbit/s)
i'd probably just leave it alone, at least for 8.1
I think this behaviour (only accepting integers before the unit)
has been there forever, and is one of the many things broken in
the code that parses bandwidth, sizes and delays.
I am slightly afraid of fixing it because people might have
(broken) configurations relying on undocumented behaviour.
cheers
luigi
More information about the freebsd-net
mailing list