X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fofp-util.c;h=90475f7ae31cca8277fde4501ec7fed5b6c92535;hb=cb6e2b01787b71c39678e9ef98e3b9374a7db378;hp=3099b0b3534f7935b177aeedf51d57d437daedbf;hpb=9e1fd49b0cf494315c82f27c651486ef82e83446;p=openvswitch diff --git a/lib/ofp-util.c b/lib/ofp-util.c index 3099b0b3..90475f7a 100644 --- a/lib/ofp-util.c +++ b/lib/ofp-util.c @@ -101,7 +101,7 @@ static const flow_wildcards_t WC_INVARIANTS = 0 void ofputil_wildcard_from_openflow(uint32_t ofpfw, struct flow_wildcards *wc) { - BUILD_ASSERT_DECL(FLOW_WC_SEQ == 8); + BUILD_ASSERT_DECL(FLOW_WC_SEQ == 9); /* Initialize most of rule->wc. */ flow_wildcards_init_catchall(wc); @@ -1166,7 +1166,7 @@ ofputil_usable_protocols(const struct cls_rule *rule) { const struct flow_wildcards *wc = &rule->wc; - BUILD_ASSERT_DECL(FLOW_WC_SEQ == 8); + BUILD_ASSERT_DECL(FLOW_WC_SEQ == 9); /* Only NXM supports separately wildcards the Ethernet multicast bit. */ if (!(wc->wildcards & FWW_DL_DST) != !(wc->wildcards & FWW_ETH_MCAST)) {