Re: [ANNOUNCE] iproute2 util update

From: Eric Dumazet
Date: Tue Aug 16 2005 - 22:23:28 EST


Stephen Hemminger a écrit :
http://developer.osdl.org/dev/iproute2/download/iproute2-050816.tar.gz

Update to iproute2 to include:
* Limit ip neigh flush to 10 rounds
* tc ematch support (thomas)
* build cleanups (thomas, et al)
* Fix for options process with ipt (jamal)
* Fix array overflow in paretonormal distribution build
* Update include files to 2.6.13
* Decnet doc update (Steven Whithouse)

Note: the ematch support won't build on really old versions of bison (1.28),
but the kernel on those systems wouldn't support it anyway.
-
Thank you

Could you please apply this patch.

* Fix lnstat : First column should not be summed

Thank you

Signed-off-by: Eric Dumazet <dada1@xxxxxxxxxxxxx>


--- iproute2-050816-orig/misc/lnstat_util.c 2005-03-18 20:40:19.000000000 +0100
+++ iproute2-050816/misc/lnstat_util.c 2005-08-17 05:21:04.000000000 +0200
@@ -55,7 +55,7 @@
for (j = 0; j < lf->num_fields; j++) {
unsigned long f = strtoul(ptr, &ptr, 16);
if (j == 0)
- lf->fields[j].values[i] += f;
+ lf->fields[j].values[i] = f;
else
lf->fields[j].values[i] += f;
}