X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fnx-match.c;h=1a6fcaec02bb2c6a1435369c5de343237c1ff5d1;hb=dc235f7fbcff39b318b715f9d3d01f97b2634357;hp=11cbff3d1e434f70717b92b54c2c5386f746c428;hpb=a66733a8bc1c42d92f498108d7e27987989dc206;p=sliver-openvswitch.git diff --git a/lib/nx-match.c b/lib/nx-match.c index 11cbff3d1..1a6fcaec0 100644 --- a/lib/nx-match.c +++ b/lib/nx-match.c @@ -530,6 +530,8 @@ nxm_put_ip(struct ofpbuf *b, const struct match *match, flow->tp_src, match->wc.masks.tp_src); nxm_put_16m(b, oxm ? OXM_OF_TCP_DST : NXM_OF_TCP_DST, flow->tp_dst, match->wc.masks.tp_dst); + nxm_put_16m(b, NXM_NX_TCP_FLAGS, + flow->tcp_flags, match->wc.masks.tcp_flags); } else if (flow->nw_proto == IPPROTO_UDP) { nxm_put_16m(b, oxm ? OXM_OF_UDP_SRC : NXM_OF_UDP_SRC, flow->tp_src, match->wc.masks.tp_src); @@ -570,7 +572,7 @@ nx_put_raw(struct ofpbuf *b, bool oxm, const struct match *match, int match_len; int i; - BUILD_ASSERT_DECL(FLOW_WC_SEQ == 21); + BUILD_ASSERT_DECL(FLOW_WC_SEQ == 22); /* Metadata. */ if (match->wc.masks.in_port.ofp_port) {