mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-19 15:16:33 +00:00
Prevent multiple primary interfaces (#4046)
This commit is contained in:
parent
c41f13bf18
commit
b044095e57
@ -215,6 +215,8 @@ class NetworkManager(DBusInterfaceProxy):
|
||||
== self.properties[DBUS_ATTR_PRIMARY_CONNECTION]
|
||||
):
|
||||
interface.primary = True
|
||||
else:
|
||||
interface.primary = False
|
||||
|
||||
interfaces[interface.name] = interface
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user