You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by hu...@apache.org on 2013/06/03 10:52:59 UTC

git commit: updated refs/heads/master to 5c9828d

Updated Branches:
  refs/heads/master 54127f838 -> 5c9828db7


CLOUDSTACK-2804 getEthByIp function in vpc_func.sh can return the wrong
network interface


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5c9828db
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5c9828db
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5c9828db

Branch: refs/heads/master
Commit: 5c9828db7dbff5a18913f576c2ede3ea23a0ef4c
Parents: 54127f8
Author: Hugo Trippaers <ht...@schubergphilis.com>
Authored: Mon Jun 3 10:52:41 2013 +0200
Committer: Hugo Trippaers <ht...@schubergphilis.com>
Committed: Mon Jun 3 10:52:41 2013 +0200

----------------------------------------------------------------------
 .../debian/config/opt/cloud/bin/vpc_func.sh        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5c9828db/patches/systemvm/debian/config/opt/cloud/bin/vpc_func.sh
----------------------------------------------------------------------
diff --git a/patches/systemvm/debian/config/opt/cloud/bin/vpc_func.sh b/patches/systemvm/debian/config/opt/cloud/bin/vpc_func.sh
index 17cb078..2f88351 100755
--- a/patches/systemvm/debian/config/opt/cloud/bin/vpc_func.sh
+++ b/patches/systemvm/debian/config/opt/cloud/bin/vpc_func.sh
@@ -22,7 +22,7 @@ getEthByIp (){
   local ip=$1
   for dev in `ls -1 /sys/class/net | grep eth`
   do
-    sudo ip addr show dev $dev | grep $ip > /dev/null
+    sudo ip addr show dev $dev | grep $ip\/ > /dev/null
     if [ $? -eq 0 ]
     then
       echo $dev