Update utility.py
fix on radvd config file generation to support python3
This commit is contained in:
parent
5ae3ad9011
commit
83e6bbee45
1 changed files with 1 additions and 1 deletions
|
@ -669,7 +669,7 @@ class RadvdService(UtilService):
|
|||
for ifc in node.netifs():
|
||||
if hasattr(ifc, "control") and ifc.control is True:
|
||||
continue
|
||||
prefixes = map(cls.subnetentry, ifc.addrlist)
|
||||
prefixes = list(map(cls.subnetentry, ifc.addrlist))
|
||||
if len(prefixes) < 1:
|
||||
continue
|
||||
cfg += (
|
||||
|
|
Loading…
Reference in a new issue