added address

This commit is contained in:
2021-01-19 12:31:40 +01:00
parent a23effcd00
commit 5107c7db1d

View File

@@ -123,6 +123,10 @@ std::string find_mac() {
}
if (!iface_stream) {
printf("No enp8s0 \n");
iface_stream.open("/sys/class/net/enp4s0/address");
}
if (!iface_stream) {
printf("No enp4s0 \n");
printf("No Device found! \n");
return "";
}