Add mask for avahi duplicate interfaces

This commit is contained in:
Florian Eich 2020-11-29 20:57:32 +01:00
parent 6c08336154
commit b68070c84f

View file

@ -93,7 +93,8 @@ class Module(core.module.Module):
def _update_widgets(self, widgets):
self.clear_widgets()
interfaces = [
i for i in netifaces.interfaces() if not i.startswith(self._exclude)
i for i in netifaces.interfaces()
if not i.startswith(self._exclude) and ":" not in i
]
interfaces.extend([i for i in netifaces.interfaces() if i in self._include])