livebox now longer answer to ping6 on LAN :(

This commit is contained in:
Gilles Grandou 2022-01-14 19:02:07 +01:00
parent 60b13d46f7
commit 31f5e94ae1
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ def load_conf():
def ping(hostname):
cmd = "ping -c1 -w3 %s" % hostname
cmd = "ping -4 -c1 -w3 %s" % hostname
ret = subprocess.run(cmd.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
return 0 if ret.returncode else 1