en cas de ping temps trop important sur les ping, traceroute met des * qui
soulent darcs-hash:20041115174150-4ec08-8e4358512e19ca7c21845c7554ce61571e651728.gz
This commit is contained in:
parent
c4a3a963e3
commit
4c682b95d0
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ class autostatus(gen_config) :
|
|||
########################
|
||||
|
||||
# on récupère la route vers l'extérieur
|
||||
traceroute = commands.getoutput("/usr/bin/traceroute www.free.fr 2> /dev/null | sed 's/ */ /g' | sed 's/^ //g' | sed 's/[(,)]//g' | cut -d ' ' -f 2,3").split("\n")
|
||||
traceroute = commands.getoutput("/usr/bin/traceroute www.free.fr 2> /dev/null | sed 's/\*//g' | sed 's/ */ /g' | sed 's/^ //g' | sed 's/[(,)]//g' | cut -d ' ' -f 2,3").split("\n")
|
||||
|
||||
# initialisation des variables
|
||||
in_renater = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue