diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-06-09 12:08:22 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-06-09 12:08:22 +0200 |
commit | 2f74f6e53de49b981edf3ca337c897dec297c1aa (patch) | |
tree | 6d558ab30a620bce2b0d35b72440988fa9cc83e4 | |
parent | 586daa5c53e99e0327dec27dfdaf6f5436d0c92c (diff) |
ifpps: Don't diff tx_bytes twice
It's sufficient to calculate the difference of tx_bytes only once.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r-- | ifpps.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -471,7 +471,6 @@ static void stats_diff(struct ifstat *old, struct ifstat *new, DIFF(rx_multi); DIFF(tx_bytes); - DIFF(tx_bytes); DIFF(tx_packets); DIFF(tx_drops); DIFF(tx_errors); |