* Don't use getifaddrs(), since it's not portable; and rework the MAC address reading code.
This commit is contained in:
@ -19,7 +19,7 @@ int
|
||||
getsysaddr(char * buf, int len);
|
||||
|
||||
int
|
||||
getifhwaddr(const char * ifname, char * buf, int len);
|
||||
getsyshwaddr(char * buf, int len);
|
||||
|
||||
int
|
||||
get_remote_mac(struct in_addr ip_addr, unsigned char * mac);
|
||||
|
Reference in New Issue
Block a user