ixll: Fix ping(8)s that require all options precede address

The default ping(8) shipped with alpine does not support `ping <addr>
-c1`, but happily executes `ping -c1 <addr>`. Therefore, make sure
that the address is always the last argument.
This commit is contained in:
Tobias Waldekranz
2025-01-17 14:33:41 +01:00
parent 94cd526772
commit 4e83520b0e
+1 -1
View File
@@ -9,7 +9,7 @@ llping()
{
local iface="$1"
shift
ping -L ff02::1%$iface "$@"
ping -L "$@" ff02::1%$iface
}