actually look up hosts
This commit is contained in:
parent
4aa94950c3
commit
215ffced7c
1 changed files with 1 additions and 1 deletions
|
|
@ -101,5 +101,5 @@ ergo = ErgoClient()
|
|||
|
||||
privilegedIps = set()
|
||||
for host in config.PRIVILEGED_HOSTS:
|
||||
for addr in [x[-1][0] for x in socket.getaddrinfo("localhost", 0)]:
|
||||
for addr in [x[-1][0] for x in socket.getaddrinfo(host, 0)]:
|
||||
privilegedIps.add(addr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue