X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Finterface.c;h=90dc139dccc0131ff7b83a8921b8333beb615c84;hb=daebbbee0ac53d39a0486aeb8c41fd358f46ed82;hp=a71b42e2b79bd55bf03c30d31beefae5f2c77dff;hpb=9d9a48d68f41b01005456ec813aadfcb92e3986e;p=collectd.git diff --git a/src/interface.c b/src/interface.c index a71b42e2..90dc139d 100644 --- a/src/interface.c +++ b/src/interface.c @@ -286,6 +286,10 @@ static int interface_read (void) incoming = atoll (fields[2]); outgoing = atoll (fields[10]); if_submit (device, "if_errors", incoming, outgoing); + + incoming = atoll (fields[3]); + outgoing = atoll (fields[11]); + if_submit (device, "if_dropped", incoming, outgoing); } fclose (fh);