From: Ben Pfaff Date: Tue, 27 Sep 2011 20:02:30 +0000 (-0700) Subject: meta-flow: Fix icmp_code field's wildcard bit. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=029b26f3924eb7c28614a1c3df284e817904daf1;p=openvswitch meta-flow: Fix icmp_code field's wildcard bit. This bug caused any NXM flow that matched both ICMP code and ICMP type to be rejected with NXBRC_NXM_DUP_TYPE. --- diff --git a/lib/meta-flow.c b/lib/meta-flow.c index 140f9022..6d2bfbd6 100644 --- a/lib/meta-flow.c +++ b/lib/meta-flow.c @@ -268,7 +268,7 @@ static const struct mf_field mf_fields[MFF_N_IDS] = { }, { MFF_ICMP_CODE, "icmp_code", NULL, MF_FIELD_SIZES(u8), - MFM_NONE, FWW_TP_SRC, + MFM_NONE, FWW_TP_DST, MFS_DECIMAL, MFP_ICMP_ANY, NXM_OF_ICMP_CODE,