mirror of https://github.com/apache/cloudstack.git
CS-15942: Failed to apply Port Forwarding rule to Redundant router
reviewed-by: abhi
This commit is contained in:
parent
c84c94e9e8
commit
88a1ebcbf1
|
|
@ -46,7 +46,7 @@ ip_to_dev() {
|
|||
}
|
||||
|
||||
doHairpinNat () {
|
||||
local vrGuestIPNetwork=$(sudo ip addr show dev eth0 | grep inet | grep eth0 | awk '{print $2}' )
|
||||
local vrGuestIPNetwork=$(sudo ip addr show dev eth0 | grep inet | grep eth0 | awk '{print $2}' | head -1)
|
||||
local vrGuestIP=$(echo $vrGuestIPNetwork | awk -F'/' '{print $1}')
|
||||
|
||||
local publicIp=$1
|
||||
|
|
|
|||
Loading…
Reference in New Issue