diff --git a/netbox-scanner/nbscan.py b/netbox-scanner/nbscan.py index 65afc17..6988aaf 100644 --- a/netbox-scanner/nbscan.py +++ b/netbox-scanner/nbscan.py @@ -134,7 +134,7 @@ class NetBoxScanner(object): description_new=host[1]) else: self.netbox.ipam.ip_addresses.create(address=host[0], - tags=[self.tag], description=host[0]) + tags=[self.tag], description=host[1]) self.logger('created', address=host[0], description=host[1]) return True diff --git a/setup.py b/setup.py index fe505aa..00a06b4 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open('README.md', 'r') as fh: setuptools.setup( name='netbox-scanner', - version='0.5.3', + version='0.5.4', author='José Lopes de Oliveira Jr.', author_email='jlojunior@gmail.com', description='A scanner util for NetBox',