Merge "default gateway regex: use exact match for iface name"
This commit is contained in:
commit
caad9221e0
@ -577,7 +577,7 @@ function _move_neutron_addresses_route {
|
||||
local IP_DEL=""
|
||||
local IP_UP=""
|
||||
local DEFAULT_ROUTE_GW
|
||||
DEFAULT_ROUTE_GW=$(ip -f $af r | awk "/default.+$from_intf/ { print \$3; exit }")
|
||||
DEFAULT_ROUTE_GW=$(ip -f $af r | awk "/default.+$from_intf\s/ { print \$3; exit }")
|
||||
local ADD_OVS_PORT=""
|
||||
local DEL_OVS_PORT=""
|
||||
local ARP_CMD=""
|
||||
|
Loading…
Reference in New Issue
Block a user