zeroconf: ::ffff:127.* is also loopback addresses
This commit is contained in:
parent
b685f2ae63
commit
47c507b8a7
@ -17,7 +17,10 @@ _AVAHI_PUBLISHFLAGS_NONE = 0
|
||||
|
||||
|
||||
def _is_loopback_address(host):
|
||||
return host.startswith('127.') or host == '::1'
|
||||
return (
|
||||
host.startswith('127.') or
|
||||
host.startswith('::ffff:127.') or
|
||||
host == '::1')
|
||||
|
||||
|
||||
def _convert_text_to_dbus_bytes(text):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user