eliminate privileged user requirement (fixes #3)
This commit is contained in:
parent
508731319a
commit
c9537eb31f
@ -120,7 +120,7 @@ def main():
|
|||||||
if should_stop:
|
if should_stop:
|
||||||
break
|
break
|
||||||
|
|
||||||
icmp_socket = socket.socket(socket.AF_INET, socket.SOCK_RAW, icmp)
|
icmp_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, icmp)
|
||||||
icmp_socket.bind(("", dnsport))
|
icmp_socket.bind(("", dnsport))
|
||||||
icmp_socket.settimeout(timeout)
|
icmp_socket.settimeout(timeout)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user