This commit is contained in:
brent s. 2020-05-18 05:27:15 -04:00
parent 1655dd1e89
commit 87dfe6a543
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -101,7 +101,7 @@ class Assignment(object):
family = socket.AF_INET6, family = socket.AF_INET6,
scope = 253)[0]['attrs'] scope = 253)[0]['attrs']
addrs = dict(ll)['IFA_ADDRESS'] addrs = dict(ll)['IFA_ADDRESS']
logger.debug('Link-Local address for {0}: {1}'.format(addrs)) logger.debug('Link-Local address for {0}: {1}'.format(addrs, addrs))
if isinstance(addrs, (list, tuple)): if isinstance(addrs, (list, tuple)):
addr = addrs[0] addr = addrs[0]
else: else: