daemon: fix to properly check for setting broadcast support
This commit is contained in:
parent
d215330426
commit
c91facd6e3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue