This commit is contained in:
0xdcarns
2021-10-27 08:52:51 -04:00
parent b1595d5ef4
commit 67a65605a4
3 changed files with 4 additions and 2 deletions

View File

@@ -451,9 +451,11 @@ func isInterfacePresent(iface string, address string) (string, bool) {
}
for _, addr := range currAddrs {
if strings.Contains(addr.String(), address) && currIface.Name != iface {
Log("found iface "+addr.String()+" "+currIface.Name, 2)
return currIface.Name, false
}
}
}
Log("failed to find iface "+iface, 2)
return "", true
}