From c91facd6e30e6d7c23743406c9657c7db48e8895 Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Tue, 24 Jan 2023 08:28:25 -0800 Subject: [PATCH] daemon: fix to properly check for setting broadcast support --- daemon/core/nodes/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/core/nodes/base.py b/daemon/core/nodes/base.py index d3adf5c3..92717ead 100644 --- a/daemon/core/nodes/base.py +++ b/daemon/core/nodes/base.py @@ -892,7 +892,7 @@ class CoreNode(CoreNodeBase): for ip in iface.ips(): # ipv4 check broadcast = None - if netaddr.valid_ipv4(ip): + if netaddr.valid_ipv4(str(ip.ip)): broadcast = "+" self.node_net_client.create_address(iface.name, str(ip), broadcast) # configure iface options