summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a75821c)
raw | patch | inline | side by side (parent: a75821c)
author | octo <octo> | |
Sat, 10 Jun 2006 13:59:15 +0000 (13:59 +0000) | ||
committer | octo <octo> | |
Sat, 10 Jun 2006 13:59:15 +0000 (13:59 +0000) |
Thanks to Olaf Rempel for this patch.
src/traffic.c | patch | blob | history |
diff --git a/src/traffic.c b/src/traffic.c
index c7f71103852ee73421668dcfc3d3fff683085290..d12f5e4faeaa6166d4a30327f34d6ce0923d851c 100644 (file)
--- a/src/traffic.c
+++ b/src/traffic.c
bytes_submit (device, incoming, outgoing);
incoming = atoll (fields[1]);
- incoming = atoll (fields[9]);
+ outgoing = atoll (fields[9]);
packets_submit (device, incoming, outgoing);
incoming = atoll (fields[2]);
- incoming = atoll (fields[10]);
+ outgoing = atoll (fields[10]);
errors_submit (device, incoming, outgoing);
}