git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added the accessor for the ipv6 support in slices
[plcapi.git]
/
PLC
/
POD.py
diff --git
a/PLC/POD.py
b/PLC/POD.py
index
01a7ddd
..
41227d2
100644
(file)
--- a/
PLC/POD.py
+++ b/
PLC/POD.py
@@
-69,7
+69,7
@@
def icmp_pod(host,key):
if uid <> 0:
print "must be root to send icmp pod"
return
-
+
s = socket(AF_INET, SOCK_RAW, getprotobyname("icmp"))
packet = _construct(0, key) # make a ping packet
addr = (host,1)