We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5e9e94 commit 463428fCopy full SHA for 463428f
1 file changed
zeroconf.py
@@ -1209,7 +1209,7 @@ def get_all_addresses(address_family):
1209
addr['addr']
1210
for iface in netifaces.interfaces()
1211
for addr in netifaces.ifaddresses(iface).get(address_family, [])
1212
- if addr['netmask'] != HOST_ONLY_NETWORK_MASK
+ if addr.get('netmask') != HOST_ONLY_NETWORK_MASK
1213
]
1214
1215
0 commit comments