From 32c78201e817351769baefd25dbd825473047422 Mon Sep 17 00:00:00 2001 From: brent s Date: Fri, 15 May 2020 03:21:12 -0400 Subject: [PATCH] missed some --- utils/he_ipv6/tunnelbroker.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/he_ipv6/tunnelbroker.py b/utils/he_ipv6/tunnelbroker.py index 716f6b2..762f8e6 100644 --- a/utils/he_ipv6/tunnelbroker.py +++ b/utils/he_ipv6/tunnelbroker.py @@ -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()