Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 84fbbd7

Browse files
committed
Require at least zeroconf 0.27.1
1 parent ffc3cd0 commit 84fbbd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

netdisco/discoverables/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def info_from_entry(self, entry):
122122
properties[key.decode('utf-8')] = value
123123

124124
info = {
125-
ATTR_HOST: str(ipaddress.ip_address(entry.address)),
125+
ATTR_HOST: str(ipaddress.ip_address(entry.addresses[0])),
126126
ATTR_PORT: entry.port,
127127
ATTR_HOSTNAME: entry.server,
128128
ATTR_PROPERTIES: properties,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
author='Paulus Schoutsen',
1818
author_email='Paulus@PaulusSchoutsen.nl',
1919
license='Apache License 2.0',
20-
install_requires=['requests>=2.0', 'zeroconf>=0.21.0'],
20+
install_requires=['requests>=2.0', 'zeroconf>=0.27.1'],
2121
python_requires='>=3',
2222
packages=find_packages(exclude=['tests', 'tests.*']),
2323
zip_safe=False,

0 commit comments

Comments
 (0)