mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix a stupid string comparsion in OVS
This commit is contained in:
parent
74556f4043
commit
cbe368ef69
@ -4377,7 +4377,7 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
|
||||
"remoteIP", cmd.getRemoteIp(), "greKey", cmd.getKey(), "from",
|
||||
Long.toString(cmd.getFrom()), "to", Long.toString(cmd.getTo()));
|
||||
String[] res = result.split(":");
|
||||
if (res.length != 2 || (res.length == 2 && res[1] == "[]")) {
|
||||
if (res.length != 2 || (res.length == 2 && res[1].equalsIgnoreCase("[]"))) {
|
||||
return new OvsCreateGreTunnelAnswer(cmd, false, result,
|
||||
_host.ip, bridge);
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user