Skip to content
Snippets Groups Projects
Commit 94e70fd5 authored by Jakob Olsson's avatar Jakob Olsson
Browse files

mdmngr: more excplicity when finding a device

parent baf637e6
Branches
No related tags found
No related merge requests found
......@@ -403,7 +403,7 @@ static char *get_device_name(char *dir_name)
continue;
}
if (!strstr(de->d_name, "eth") && !strstr(de->d_name, "usb"))
if (!strstr(de->d_name, "eth5") && !strstr(de->d_name, "usb0"))
break;
name = strdup(de->d_name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment