From 029b26f3924eb7c28614a1c3df284e817904daf1 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 27 Sep 2011 13:02:30 -0700 Subject: [PATCH] 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. --- lib/meta-flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.30.2