diff --git a/ifupdown2/addons/bridge.py b/ifupdown2/addons/bridge.py index 4d6c091c..9a9f3b45 100644 --- a/ifupdown2/addons/bridge.py +++ b/ifupdown2/addons/bridge.py @@ -1348,7 +1348,10 @@ def bridge_always_up(self, bridge_name, newbridgeports_ordered): self.netlink.link_add(ifname=dummy_brport, kind="dummy") self.netlink.link_up_force(dummy_brport) - newbridgeports_ordered.append(dummy_brport) + if newbridgeports_ordered is None: + newbridgeports_ordered = [dummy_brport] + else: + newbridgeports_ordered.append(dummy_brport) return dummy_brport def _process_bridge_maxwait(self, ifaceobj, portlist):