ofproto-dpif: Restore former NORMAL action behavior when revalidating.
[openvswitch] / ofproto / netflow.c
index c237ef25f4f63ac79b3648cf290b0898368ec86d..381ff8efcf23a7a895e48d64e19f8ffb6738e67a 100644 (file)
@@ -133,7 +133,7 @@ gen_netflow_rec(struct netflow *nf, struct netflow_flow *nf_flow,
     nf_rec = ofpbuf_put_zeros(&nf->packet, sizeof *nf_rec);
     nf_rec->src_addr = expired->flow.nw_src;
     nf_rec->dst_addr = expired->flow.nw_dst;
-    nf_rec->nexthop = htons(0);
+    nf_rec->nexthop = htonl(0);
     if (nf->add_id_to_iface) {
         uint16_t iface = (nf->engine_id & 0x7f) << 9;
         nf_rec->input = htons(iface | (expired->flow.in_port & 0x1ff));