fix for BUG-709 - mixed up flow cookie and connection cookie
[controller.git] / opendaylight / md-sal / compatibility / sal-compatibility / src / main / java / org / opendaylight / controller / sal / compatibility / ToSalConversionsUtils.java
index cb7289685831b75d275335c1aa6c9b2c44bc4532..74b94c7cba10771fee33f10eeddb6e6a0c2e2b16 100644 (file)
@@ -148,7 +148,7 @@ public class ToSalConversionsUtils {
             target.setActions(actionFrom(actions, node));
         }
 
-        target.setId(source.getCookie().longValue());
+        target.setId(source.getCookie().getValue().longValue());
         return target;
     }