X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Finterface.c;h=caaad47a4acc8e03902e93277b67dfe52c0f1df2;hb=b758f3b7146f1497d93e1df64cbc0c14ae164768;hp=1c01f6ff773cf8e5bb92697b73e21e4bacee1663;hpb=029e88709f60d90fede55ed31f775602c1487d24;p=collectd.git diff --git a/src/interface.c b/src/interface.c index 1c01f6ff..caaad47a 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);