Bug 4614 - Reintroduce xid check for correct RPC handling
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / core / connection / RpcResponseKey.java
index 9cd482b1da5467b616468d09f97f22e30ba9f3cb..050f3cf76bdaea0261a94c48dadeade37db35c77 100644 (file)
@@ -68,6 +68,8 @@ public class RpcResponseKey {
             }
         } else if (!outputClazz.equals(other.outputClazz)) {
             return false;
+        } else if (xid != other.getXid()) {
+            return false;
         }
         return true;
     }