From a8475d9001b1d5809df6f0b40ae14725741ab01c Mon Sep 17 00:00:00 2001 From: brent s Date: Fri, 15 May 2020 01:51:34 -0400 Subject: [PATCH] erm. use the .str attr. otherwise we get the class name. duh. --- utils/he_ipv6/tunnelbroker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/he_ipv6/tunnelbroker.py b/utils/he_ipv6/tunnelbroker.py index 14f762f..ddeabb1 100644 --- a/utils/he_ipv6/tunnelbroker.py +++ b/utils/he_ipv6/tunnelbroker.py @@ -212,7 +212,7 @@ class TunnelBroker(object): logger.debug('Requesting IP update at provider.') req = requests.get(self.url_api, params = {'hostname': str(self.tun.id), - 'myip': str(self.my_ip)}, + 'myip': self.my_ip.str}, auth = auth_handler) if not req.ok: logger.error('Could not update IP at provider. Request returned {0}.'.format(req.status_code))