Discovery fixes

This commit is contained in:
Luca Deri 2017-12-03 12:18:39 +01:00
parent 4505bb7509
commit b33c55856e
4 changed files with 9 additions and 2 deletions

View file

@ -112,6 +112,7 @@ NetworkInterface::NetworkInterface(const char *name,
if(strchr(name, ':')
|| strchr(name, '@')
|| (!strcmp(name, "dummy"))
|| strchr(name, '/') /* file path */
|| strstr(name, ".pcap") /* pcap */
|| (strncmp(name, "lo", 2) == 0)