Browse code

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

Rodolfo Alonso Hernandez authored on 2020/06/26 03:22:28
Showing 1 changed files
... ...
@@ -622,7 +622,7 @@ function _move_neutron_addresses_route {
622 622
             IP_UP="sudo ip link set $to_intf up"
623 623
             if [[ "$af" == "inet" ]]; then
624 624
                 IP=$(echo $IP_BRD | awk '{ print $1; exit }' | grep -o -E '(.*)/' | cut -d "/" -f1)
625
-                ARP_CMD="sudo arping -A -c 3 -w 4.5 -I $to_intf $IP "
625
+                ARP_CMD="sudo arping -A -c 3 -w 5 -I $to_intf $IP "
626 626
             fi
627 627
         fi
628 628