Updated Branches: refs/heads/master fd4a1a39c -> 2296dc4ac
bug CS-15942: Fixes port forwarding issue for redundant routers Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/2296dc4a Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/2296dc4a Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/2296dc4a Branch: refs/heads/master Commit: 2296dc4acc97b18061e5988896aaa90a81e93a9a Parents: fd4a1a3 Author: Rohit Yadav <[email protected]> Authored: Tue Aug 28 12:11:49 2012 +0530 Committer: Abhinandan Prateek <[email protected]> Committed: Tue Aug 28 12:11:55 2012 +0530 ---------------------------------------------------------------------- patches/systemvm/debian/config/root/firewall.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/2296dc4a/patches/systemvm/debian/config/root/firewall.sh ---------------------------------------------------------------------- diff --git a/patches/systemvm/debian/config/root/firewall.sh b/patches/systemvm/debian/config/root/firewall.sh index ea4065a..cd8e8cc 100755 --- a/patches/systemvm/debian/config/root/firewall.sh +++ b/patches/systemvm/debian/config/root/firewall.sh @@ -48,7 +48,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
