cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject git commit: updated refs/heads/master to 5c9828d
Date Mon, 03 Jun 2013 08:52:59 GMT
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 <htrippaers@schubergphilis.com>
Authored: Mon Jun 3 10:52:41 2013 +0200
Committer: Hugo Trippaers <htrippaers@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


Mime
View raw message