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>
This commit is contained in:
Paul Warren
2017-01-04 22:55:26 +00:00
parent 014c6e628f
commit 96a691484e
5 changed files with 7 additions and 4 deletions

View File

@@ -55,7 +55,7 @@
/* ethernet address of interface. */
int have_hw_addr = 0;
char if_hw_addr[6];
u_int8_t if_hw_addr[6];
/* IP address of interface */
int have_ip_addr = 0;