don't display deltaT in msg type packets

This commit is contained in:
andreas
2006-11-08 15:42:17 +00:00
parent b21c794a61
commit 6f2be6b2b9
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
RCSID="$Id: selfcheck,v 1.2 2006/11/08 15:16:41 andreas Exp $"
RCSID="$Id: selfcheck,v 1.3 2006/11/08 15:42:17 andreas Exp $"
# check internet connectivity
#
@@ -143,7 +143,7 @@ def checkall(IF):
return(Res)
# ec=os.system("/sbin/ping -n -c 1 %s >/dev/null 2>&1" % "217.237.157.246")
ec=os.system("/sbin/ping -n -c 1 %s >/dev/null 2>&1" % IF.ipgw)
ec=os.system("/sbin/ping -n -c 1 -w 2 %s >/dev/null 2>&1" % IF.ipgw)
if ec == 0:
Res+=".\nThe gateway is reachable."
else: