Ignore interfaces on Darwin

This commit is contained in:
Mark Qvist 2021-12-10 11:00:48 +01:00
parent fca03bbdce
commit d4b6b6ee59

View File

@ -21,7 +21,7 @@ class AutoInterface(Interface):
PEERING_TIMEOUT = 9.0 PEERING_TIMEOUT = 9.0
DARWIN_IGNORE_IFS = ["awdl0", "llw0"] DARWIN_IGNORE_IFS = ["awdl0", "llw0", "lo0"]
def __init__(self, owner, name, group_id=None, discovery_scope=None, discovery_port=None, data_port=None, allowed_interfaces=None, ignored_interfaces=None): def __init__(self, owner, name, group_id=None, discovery_scope=None, discovery_port=None, data_port=None, allowed_interfaces=None, ignored_interfaces=None):
import importlib import importlib