Update utility.py

fix on radvd config file generation to support python3
This commit is contained in:
Daniel R. Kerr 2020-02-13 00:38:45 -05:00 committed by GitHub
parent 5ae3ad9011
commit 83e6bbee45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 += (