cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [19/50] [abbrv] git commit: Fix broadcast address is 0.0.0.0 on additional public vlan issue
Date Mon, 24 Dec 2012 00:57:38 GMT
Fix broadcast address is 0.0.0.0 on additional public vlan issue


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

Branch: refs/heads/api_refactoring
Commit: 911f8c33c5feb08138d5dc5ea502236b555849dc
Parents: 96c7bbe
Author: Sheng Yang <sheng.yang@citrix.com>
Authored: Tue Dec 11 13:38:36 2012 -0800
Committer: Sheng Yang <sheng.yang@citrix.com>
Committed: Fri Dec 21 15:22:15 2012 -0800

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


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/911f8c33/patches/systemvm/debian/config/opt/cloud/bin/ipassoc.sh
----------------------------------------------------------------------
diff --git a/patches/systemvm/debian/config/opt/cloud/bin/ipassoc.sh b/patches/systemvm/debian/config/opt/cloud/bin/ipassoc.sh
index c9a5e14..5af5d92 100755
--- a/patches/systemvm/debian/config/opt/cloud/bin/ipassoc.sh
+++ b/patches/systemvm/debian/config/opt/cloud/bin/ipassoc.sh
@@ -137,7 +137,7 @@ copy_routes_from_main() {
 ip_addr_add() {
   local dev="$1"
   local ip="$2"
-  sudo ip addr add dev $dev $ip > /dev/null
+  sudo ip addr add dev $dev $ip brd + > /dev/null
 
 }
 
@@ -294,7 +294,7 @@ remove_an_ip () {
     then
       continue
     fi
-    sudo ip addr add dev $ethDev $ipMask
+    sudo ip addr add dev $ethDev $ipMask brd +
   done
 
   remove_routing $1


Mime
View raw message