Skip to content

Commit 9451021

Browse files
Brian HaleyGal Sagie
authored andcommitted
Fix typo in _move_neutron_addresses_route()
A previous change in this code had a typo, reversing the definitions of IP_ADD and IP_DEL, noticed while debugging another issue. Change-Id: Ifb87de1138eeb72081a2e52a5c81bfe9fe91ecd6
1 parent 42bff13 commit 9451021

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/neutron-legacy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -826,11 +826,11 @@ function _move_neutron_addresses_route {
826826
fi
827827

828828
if [[ "$IP_BRD" != "" ]]; then
829-
IP_ADD="sudo ip addr del $IP_BRD dev $from_intf"
830-
IP_DEL="sudo ip addr add $IP_BRD dev $to_intf"
829+
IP_DEL="sudo ip addr del $IP_BRD dev $from_intf"
830+
IP_ADD="sudo ip addr add $IP_BRD dev $to_intf"
831831
fi
832832

833-
$IP_ADD; $IP_DEL; $ADD_OVS_PORT; $ADD_DEFAULT_ROUTE
833+
$IP_DEL; $IP_ADD; $ADD_OVS_PORT; $ADD_DEFAULT_ROUTE
834834
fi
835835
}
836836

0 commit comments

Comments
 (0)