From b044095e57d3002feb2a34b71c44c04e9d73b9fe Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 9 Dec 2022 12:56:52 +0100 Subject: [PATCH] Prevent multiple primary interfaces (#4046) --- supervisor/dbus/network/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/supervisor/dbus/network/__init__.py b/supervisor/dbus/network/__init__.py index cf6310858..cd6b652c4 100644 --- a/supervisor/dbus/network/__init__.py +++ b/supervisor/dbus/network/__init__.py @@ -215,6 +215,8 @@ class NetworkManager(DBusInterfaceProxy): == self.properties[DBUS_ATTR_PRIMARY_CONNECTION] ): interface.primary = True + else: + interface.primary = False interfaces[interface.name] = interface