changeset 10650 | 28b3d39bcbc6 |
parent 10478 | 026b4ee032fb |
--- a/statsd_logger.py Mon Oct 12 09:19:07 2015 +0200 +++ b/statsd_logger.py Fri Oct 02 17:28:33 2015 +0200 @@ -78,7 +78,7 @@ packed = None for family in (socket.AF_INET6, socket.AF_INET): try: - packed = socket.inet_pton(family, address) + packed = socket.inet_pton(family, address[0]) break except socket.error: continue