missed some

This commit is contained in:
brent s. 2020-05-15 03:21:12 -04:00
parent 51dadf421e
commit 32c78201e8
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
1 changed files with 3 additions and 3 deletions

View File

@ -182,13 +182,13 @@ class TunnelBroker(object):
try:
ipr.addr('add',
index = assignment.iface_idx,
address = b.str,
address = str(b),
mask = b.prefixlen,
family = socket.AF_INET6)
logger.debug('Added {0} with prefix {1} to {2}.'.format(b.str, b.prefixlen, assignment.iface))
logger.debug('Added {0} with prefix {1} to {2}.'.format(str(b), b.prefixlen, assignment.iface))
except Exception as e:
logger.error(('Could not add address block {0} on {1}: '
'{2}').format(b.str, assignment.iface, e))
'{2}').format(str(b), assignment.iface, e))
ipr.close()
raise e
ipr.close()