* Fix lnstat : First column should not be summed
Thank you
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
for (j = 0; j < lf->num_fields; j++) {
unsigned long f = strtoul(ptr, &ptr, 16);
if (j == 0)
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;
}
else
lf->fields[j].values[i] += f;
}