cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yas...@apache.org
Subject git commit: updated refs/heads/4.1 to 1b7c886
Date Wed, 11 Dec 2013 01:36:00 GMT
Updated Branches:
  refs/heads/4.1 f4abe364a -> 1b7c886bb


CLOUDSTACK-5453: Fix VPN connection monitoring in KVM

It's broken by:

commit 7f104b1feb489ae09b1a2060262a122deda44a8e
Author: Edison Su <sudison@gmail.com>
Date: Fri Oct 12 18:24:50 2012 -0700

    [PATCH] CLOUDSTACK-335: fix lb for vpc on kvm


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

Branch: refs/heads/4.1
Commit: 1b7c886bb1a4cd28840a13e199fedc8c2e865011
Parents: f4abe36
Author: Sheng Yang <sheng.yang@citrix.com>
Authored: Tue Dec 10 17:32:00 2013 -0800
Committer: Sheng Yang <sheng.yang@citrix.com>
Committed: Tue Dec 10 17:35:54 2013 -0800

----------------------------------------------------------------------
 .../agent/resource/virtualnetwork/VirtualRoutingResource.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1b7c886b/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
----------------------------------------------------------------------
diff --git a/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
b/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
index 8f6a03c..d74e99a 100755
--- a/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
+++ b/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
@@ -638,7 +638,7 @@ public class VirtualRoutingResource implements Manager {
         }
         
         final String result = routerProxy("checkbatchs2svpn.sh", routerIP, args);
-        if (result != null) {
+        if (result == null || result.isEmpty()) {
             return new CheckS2SVpnConnectionsAnswer(cmd, false, "CheckS2SVpnConneciontsCommand
failed");
         }
         return new CheckS2SVpnConnectionsAnswer(cmd, true, result);


Mime
View raw message