Fix a stupid string comparsion in OVS

This commit is contained in:
Frank 2011-05-06 10:13:18 -07:00
parent 74556f4043
commit cbe368ef69

View File

@ -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 {