X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fvconn.c;h=80ba471b9a49a8db9787cc19e440e5746a8e6fd5;hb=fb0d597fb64308c60001e3afc9b31eb295dedb6b;hp=99d5a54d4e8f572293d3f88a70e25365d49f87fa;hpb=b302749b70bd8b487bdfe0ffcdacbf730da8b6ca;p=openvswitch diff --git a/lib/vconn.c b/lib/vconn.c index 99d5a54d..80ba471b 100644 --- a/lib/vconn.c +++ b/lib/vconn.c @@ -1358,6 +1358,7 @@ check_nicira_action(const union ofp_action *a, unsigned int len) switch (ntohs(nah->subtype)) { case NXAST_RESUBMIT: + case NXAST_SET_TUNNEL: return check_action_exact_len(a, len, 16); default: return ofp_mkerr(OFPET_BAD_ACTION, OFPBAC_BAD_VENDOR_TYPE); @@ -1466,7 +1467,7 @@ normalize_match(struct ofp_match *m) enum { OFPFW_TP = OFPFW_TP_SRC | OFPFW_TP_DST }; uint32_t wc; - wc = ntohl(m->wildcards) & OFPFW_ALL; + wc = ntohl(m->wildcards) & OVSFW_ALL; if (wc & OFPFW_DL_TYPE) { m->dl_type = 0;