hotname display

This commit is contained in:
R3DDY97 2018-02-03 18:12:41 +05:30
parent e0f72b9ba4
commit 03e2b3055f

View File

@ -151,7 +151,7 @@ def get_hostname(ip):
except:
pass
if ip == utils.socket.getfqdn(ip):
hostname == 'N/A'
hostname = 'N/A'
return hostname