bugfix
This commit is contained in:
@@ -119,6 +119,11 @@ std::string find_mac() {
|
||||
}
|
||||
if (!iface_stream) {
|
||||
printf("No wlp2s0 \n");
|
||||
iface_stream.open("/sys/class/net/enp8s0/address");
|
||||
}
|
||||
if (!iface_stream) {
|
||||
printf("No enp8s0 \n");
|
||||
printf("No Device found! \n");
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -167,6 +172,7 @@ gboolean draw_callback (GtkWidget *widget, cairo_t *cr, gpointer data) {
|
||||
|
||||
cairo_fill (cr);
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user