Skip to content

Commit 2d1c63c

Browse files
authored
Merge pull request #8 from gbiddison/dev/fix_for_upstream_84
upstream issue #84 fix for windows compatibility
2 parents 15fa7fd + e589895 commit 2d1c63c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

zeroconf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1597,7 +1597,9 @@ def get_all_addresses(address_family):
15971597
addr['addr']
15981598
for iface in netifaces.interfaces()
15991599
for addr in netifaces.ifaddresses(iface).get(address_family, [])
1600-
if addr.get('netmask') != HOST_ONLY_NETWORK_MASK
1600+
# windows compatibility --> https://github.com/jstasiak/python-zeroconf/issues/84
1601+
# testing on my osx, commenting this out has no effect on the returned list of addresses
1602+
# if addr.get('netmask') != HOST_ONLY_NETWORK_MASK
16011603
))
16021604

16031605

0 commit comments

Comments
 (0)