mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-21 08:06:30 +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]
|
== self.properties[DBUS_ATTR_PRIMARY_CONNECTION]
|
||||||
):
|
):
|
||||||
interface.primary = True
|
interface.primary = True
|
||||||
|
else:
|
||||||
|
interface.primary = False
|
||||||
|
|
||||||
interfaces[interface.name] = interface
|
interfaces[interface.name] = interface
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user