Merge "Provide integer number to arping "-w" parameter"

This commit is contained in:
Zuul 2020-06-27 12:25:26 +00:00 committed by Gerrit Code Review
commit 85825f1c2c

View File

@ -622,7 +622,7 @@ function _move_neutron_addresses_route {
IP_UP="sudo ip link set $to_intf up" IP_UP="sudo ip link set $to_intf up"
if [[ "$af" == "inet" ]]; then if [[ "$af" == "inet" ]]; then
IP=$(echo $IP_BRD | awk '{ print $1; exit }' | grep -o -E '(.*)/' | cut -d "/" -f1) 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
fi fi