From 9451021200cf333dc624275ef832acd3f37dd553 Mon Sep 17 00:00:00 2001 From: Brian Haley Date: Wed, 2 Sep 2015 15:40:04 -0400 Subject: [PATCH] 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 --- lib/neutron-legacy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/neutron-legacy b/lib/neutron-legacy index c74c844a0c..d1865d8bcd 100755 --- a/lib/neutron-legacy +++ b/lib/neutron-legacy @@ -826,11 +826,11 @@ function _move_neutron_addresses_route { fi if [[ "$IP_BRD" != "" ]]; then - IP_ADD="sudo ip addr del $IP_BRD dev $from_intf" - IP_DEL="sudo ip addr add $IP_BRD dev $to_intf" + IP_DEL="sudo ip addr del $IP_BRD dev $from_intf" + IP_ADD="sudo ip addr add $IP_BRD dev $to_intf" fi - $IP_ADD; $IP_DEL; $ADD_OVS_PORT; $ADD_DEFAULT_ROUTE + $IP_DEL; $IP_ADD; $ADD_OVS_PORT; $ADD_DEFAULT_ROUTE fi }