also store binary representation of mac address in the interface lookup table for later use

This commit is contained in:
Grant Limberg 2018-05-25 14:25:44 -07:00
parent be469f4dd0
commit 442595d6fc
2 changed files with 4 additions and 0 deletions

View file

@ -105,6 +105,7 @@ private:
int index;
char ifacename[IFNAMSIZ];
char mac[18];
char mac_bin[6];
unsigned int mtu;
};
Hashtable<int, iface_entry> _interfaces;