mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 20:43:02 +02:00
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:
+1
-1
@@ -9,7 +9,7 @@ llping()
|
||||
{
|
||||
local iface="$1"
|
||||
shift
|
||||
ping -L ff02::1%$iface "$@"
|
||||
ping -L "$@" ff02::1%$iface
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user