DragonFly kernel List (threaded) for 2004-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
ipfw2 rev. 1.5 leftovers
[ Sorry if I post to a wrong list ]
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");
%%%
--
Maxim Konovalov, maxim@xxxxxxxxxxx, maxim@xxxxxxxxxxx
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]