mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-25 22:44:25 +01:00
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
Block a user