Skip to content

Commit 8322799

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "BUG Fix: add sudo to run command arping"
2 parents cf94d70 + 59f50c7 commit 8322799

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/neutron-legacy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ function _move_neutron_addresses_route {
633633
IP_UP="sudo ip link set $to_intf up"
634634
if [[ "$af" == "inet" ]]; then
635635
IP=$(echo $IP_BRD | awk '{ print $1; exit }' | grep -o -E '(.*)/' | cut -d "/" -f1)
636-
ARP_CMD="arping -A -c 3 -w 4.5 -I $to_intf $IP "
636+
ARP_CMD="sudo arping -A -c 3 -w 4.5 -I $to_intf $IP "
637637
fi
638638
fi
639639

0 commit comments

Comments
 (0)