added address
This commit is contained in:
@@ -123,6 +123,10 @@ std::string find_mac() {
|
|||||||
}
|
}
|
||||||
if (!iface_stream) {
|
if (!iface_stream) {
|
||||||
printf("No enp8s0 \n");
|
printf("No enp8s0 \n");
|
||||||
|
iface_stream.open("/sys/class/net/enp4s0/address");
|
||||||
|
}
|
||||||
|
if (!iface_stream) {
|
||||||
|
printf("No enp4s0 \n");
|
||||||
printf("No Device found! \n");
|
printf("No Device found! \n");
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user