ofp-util: Use correct cookie value in "packet_in"s when no flow involved.
[sliver-openvswitch.git] / lib / ofp-util.c
index e295c20..8c200ce 100644 (file)
@@ -2822,6 +2822,7 @@ ofputil_decode_packet_in(struct ofputil_packet_in *pin,
     struct ofpbuf b;
 
     memset(pin, 0, sizeof *pin);
+    pin->cookie = OVS_BE64_MAX;
 
     ofpbuf_use_const(&b, oh, ntohs(oh->length));
     raw = ofpraw_pull_assert(&b);