Provide integer number to arping "-w" parameter

Some arping versions only accept an integer number for the
"deadline" (-w) parameter.

Change-Id: Ie21c9b5820262d049c0fcd8147d85cc110d88272
Closes-Bug: #1885169
This commit is contained in:
Rodolfo Alonso Hernandez 2020-06-25 18:22:28 +00:00
parent 572815884c
commit ca486c5259
1 changed files with 1 additions and 1 deletions

View File

@ -622,7 +622,7 @@ function _move_neutron_addresses_route {
IP_UP="sudo ip link set $to_intf up"
if [[ "$af" == "inet" ]]; then
IP=$(echo $IP_BRD | awk '{ print $1; exit }' | grep -o -E '(.*)/' | cut -d "/" -f1)
ARP_CMD="sudo arping -A -c 3 -w 4.5 -I $to_intf $IP "
ARP_CMD="sudo arping -A -c 3 -w 5 -I $to_intf $IP "
fi
fi