DEV9: Add message in pcap GetMACAddress() for unsupported OS

This commit is contained in:
TheLastRar 2021-03-06 21:44:47 +00:00 committed by lightningterror
parent f1f888bd11
commit 1221b5c271
1 changed files with 2 additions and 0 deletions

View File

@ -135,6 +135,8 @@ int GetMACAddress(char* adapter, mac_address* addr)
SysMessage("Could not get MAC address for adapter: %s", adapter); SysMessage("Could not get MAC address for adapter: %s", adapter);
} }
close(fd); close(fd);
#else
SysMessage("Could not get MAC address for adapter, OS not supported");
#endif #endif
return retval; return retval;
} }