From 5cd4ead5c9fb0e0b60ec1bfd5063b25c20124830 Mon Sep 17 00:00:00 2001 From: Jarno Rajahalme Date: Fri, 29 Jul 2016 16:52:03 -0700 Subject: meta-flow: Add mf_mask_field_masked(). Having a masked version allows generating better wildcarding. Signed-off-by: Jarno Rajahalme Acked-by: Ben Pfaff --- ofproto/ofproto-dpif-xlate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ofproto') diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c index a84755757..c32d9bca9 100644 --- a/ofproto/ofproto-dpif-xlate.c +++ b/ofproto/ofproto-dpif-xlate.c @@ -3545,7 +3545,7 @@ xlate_hash_fields_select_group(struct xlate_ctx *ctx, struct group_dpif *group) basis = hash_boolean(mf_is_set(mf, &ctx->xin->flow), basis); } - mf_mask_field(mf, &ctx->wc->masks); + mf_mask_field(mf, ctx->wc); } } -- cgit v1.2.1