hotname display
This commit is contained in:
parent
e0f72b9ba4
commit
03e2b3055f
|
@ -151,7 +151,7 @@ def get_hostname(ip):
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
if ip == utils.socket.getfqdn(ip):
|
if ip == utils.socket.getfqdn(ip):
|
||||||
hostname == 'N/A'
|
hostname = 'N/A'
|
||||||
return hostname
|
return hostname
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue