diff options
author | Paul Warren <pdw@ex-parrot.com> | 2017-01-04 22:55:26 +0000 |
---|---|---|
committer | Paul Warren <pdw@ex-parrot.com> | 2017-01-04 22:55:26 +0000 |
commit | 96a691484e6e3c6fa415b46e466c85323d017baa (patch) | |
tree | 8e05de139513a338f336aa0054156316b1868512 /addrs_dlpi.c | |
parent | 014c6e628f5bb54f06f290f71770520bb7c403ce (diff) | |
download | iftop-96a691484e6e3c6fa415b46e466c85323d017baa.zip |
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>
Diffstat (limited to 'addrs_dlpi.c')
-rw-r--r-- | addrs_dlpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addrs_dlpi.c b/addrs_dlpi.c index 188fef8..6c04ea1 100644 --- a/addrs_dlpi.c +++ b/addrs_dlpi.c @@ -50,7 +50,7 @@ extern char *strncat2(char *dest, char *src, int n); */ int -get_addrs_dlpi(char *interface, char if_hw_addr[], struct in_addr *if_ip_addr) +get_addrs_dlpi(char *interface, u_int8_t if_hw_addr[], struct in_addr *if_ip_addr) { int got_hw_addr = 0; int got_ip_addr = 0; |