X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FPOD.py;h=41227d2b75e454a7b92057067d94ecb7e861218d;hb=HEAD;hp=2dd596d15c436eb5958878eecb8bded5a995f21d;hpb=fa5d899360159b86660bf76ef0fce8f4109760cb;p=plcapi.git diff --git a/PLC/POD.py b/PLC/POD.py index 2dd596d..41227d2 100644 --- a/PLC/POD.py +++ b/PLC/POD.py @@ -1,4 +1,3 @@ -# $Id$ # Marc E. Fiuczynski # Copyright (C) 2004 The Trustees of Princeton University # @@ -70,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)