[FIX] Set arping path

This commit is contained in:
root
2026-03-10 10:09:33 +01:00
parent 4c23e0abe9
commit 52689b61cf
+1 -1
View File
@@ -107,7 +107,7 @@ Sent 2 probes (1 broadcast(s))
ARPING1 = re.compile(r'bytes from (?P<mac>\S+).*time=(?P<rtt>[0-9.]*) (?P<unit>.*)')
ARPING2 = re.compile(r'reply from.*\[(?P<mac>\S+)\]\s+(?P<rtt>[0-9.]*)(?P<unit>.*)')
# ARPING_PATH = find_executable('arping')
ARPING_PATH = "/usr/bin/arping"
ARPING_PATH = "/usr/sbin/arping"
if ARPING_PATH == None:
raise Exception('No arping command found')
elif "/usr/bin/arping" in ARPING_PATH: