mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
mwan3: warn about unsupported IPv6 in arping track method
ARP and arping do not support IPv6. Signed-off-by: Harin Lee <me@harin.net>
This commit is contained in:
committed by
Florian Eckert
parent
19bf94887b
commit
91b997bb50
@@ -74,6 +74,10 @@ validate_track_method() {
|
||||
fi
|
||||
;;
|
||||
arping)
|
||||
[ "$FAMILY" = "ipv6" ] && {
|
||||
LOG warn "arping does not support IPv6. Please use another track method."
|
||||
return 1
|
||||
}
|
||||
command -v arping 1>/dev/null 2>&1 || {
|
||||
LOG warn "Missing arping. Please install iputils-arping package."
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user