From 1bfc8580e322450f8afaaf797e236469b948c984 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 16 Apr 2017 18:29:26 -0700 Subject: Include protocols in the list of wanted hfids. That's currently required to get the fields we want. Bug: 12161 Change-Id: Ic1066334358c58fa915ef886b2658902393172c7 Reviewed-on: https://code.wireshark.org/review/21153 Reviewed-by: Guy Harris --- plugins/mate/mate_grammar.lemon | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/mate/mate_grammar.lemon') diff --git a/plugins/mate/mate_grammar.lemon b/plugins/mate/mate_grammar.lemon index c7e084230d..1235a2dd3d 100644 --- a/plugins/mate/mate_grammar.lemon +++ b/plugins/mate/mate_grammar.lemon @@ -435,6 +435,11 @@ pdu_decl ::= cfg->discard = DistcardPduData; cfg->drop_unassigned = DropUnassigned; + /* + * Add this protocol to our table of wanted hfids. + */ + mc->wanted_hfids = g_array_append_val(mc->wanted_hfids, Field->id); + g_string_append_printf(mc->protos_filter,"||%s",Field->abbrev); /* flip the transport_stack */ -- cgit v1.2.3