Commit Graph
10 Commits
Author SHA1 Message Date
Paul Warren 9addd978c4 Option to display packet counts - Frédéric Perrin <fperrin@brocade.com>
Add a "-u unit" CLI option, as well as a "bandwidth-unit" configuration
file option. With "-u packets", traffic is accounted using packets per
second; the other options are "-u bits" and "-u bytes".

"-B" is still recognized as synonym to "-u bytes".

The default is "-u bits", keeping the current behaviour of iftop
(everything is in bits/s, except the cumulative totals).
2017-01-04 23:03:34 +00:00
Paul Warren eb087b0c83 Fix compilation warning from Frédéric Perrin <fperrin@brocade.com> 2017-01-04 23:00:12 +00:00
Paul Warren 839800b6e0 Fixes for compilation warnings, reported by David Binderman <dcb314@hotmail.com> 2017-01-04 22:58:24 +00:00
Paul Warren 96a691484e Fix mac address display
iftop would display portions of mac address with large ffffff prefixes.
Make if_hw_addr type consistent.  Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2017-01-04 22:55:26 +00:00
Paul Warren 014c6e628f Remove pre-release warning. 2017-01-03 22:08:49 +00:00
Paul Warren 3a4a63c3e9 Update changelog 2017-01-03 21:55:24 +00:00
Paul Warren bc66e31834 Clean up libpcap on exit - Brian Russell <brussell@brocade.com>
On exit, call pcap_close() so that any resources used internally
by libpcap can be cleaned up.

http://lists.beasts.org/pipermail/iftop-users/2016-September/000455.html
2017-01-03 21:53:09 +00:00
Paul Warren 5340a3b9af Missing header file. 2017-01-03 21:50:49 +00:00
Paul Warren 2866de1379 Fix typo. 2017-01-03 21:42:37 +00:00
Paul Warren 25c75c0a74 Delete known issues related to very old distributions from README. 2017-01-03 21:41:44 +00:00