From 5c33115eebc9002cc480ec8f47293a2bd181dce0 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sat, 16 Nov 2013 00:55:18 +0100 Subject: [PATCH] zeroconf: Don't set host when binding to all interfaces --- mopidy/utils/zeroconf.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/mopidy/utils/zeroconf.py b/mopidy/utils/zeroconf.py index a85fddbe..6b43e62e 100644 --- a/mopidy/utils/zeroconf.py +++ b/mopidy/utils/zeroconf.py @@ -1,7 +1,6 @@ from __future__ import unicode_literals import logging -import re import socket import string @@ -17,13 +16,6 @@ _AVAHI_PROTO_UNSPEC = -1 _AVAHI_PUBLISHFLAGS_NONE = 0 -def _filter_loopback_and_meta_addresses(host): - # TODO: see if we can find a cleaner way of handling this. - if re.search(r'(?