ipfw2 rev. 1.5 leftovers
Jeremy Messenger
mezz7 at cox.net
Sun Feb 1 11:58:19 PST 2004
On Sun, 01 Feb 2004 17:37:07 +0300, Maxim Konovalov wrote:
> [ Sorry if I post to a wrong list ]
We have the dragonfly.submit list, where people can send the patches. Just
let you know about it. :-)
Cheers,
Mezz
> Correct me if I am wrong AFAIU there are two leftovers in
> rev. 1.5 ipfw/ipfw2.c:
>
> Index: ipfw2.c
> ===================================================================
> RCS file: /home/dcvs/src/sbin/ipfw/ipfw2.c,v
> retrieving revision 1.5
> diff -u -r1.5 ipfw2.c
> --- ipfw2.c 22 Jan 2004 06:20:08 -0000 1.5
> +++ ipfw2.c 1 Feb 2004 14:04:51 -0000
> @@ -2076,7 +2076,6 @@
>
> case TOK_QUEUE:
> NEED1("queue needs queue size\n");
> - end = NULL;
> pipe.fs.qsize = getbw(av[0], &pipe.fs.flags_fs, 1024);
> ac--; av++;
> break;
> @@ -2224,7 +2223,6 @@
> pipe.bandwidth = 0;
> } else {
> pipe.if_name[0] = '\0';
> - pipe.bandwidth = strtoul(av[0], &end, 0);
> pipe.bandwidth = getbw(av[0], NULL, 1000);
> if (pipe.bandwidth < 0)
> errx(EX_DATAERR, "bandwidth too large");
> %%%
--
bsdforums.org 's moderator, mezz.
More information about the Kernel
mailing list