diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-04-16 18:29:26 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-04-17 01:30:00 +0000 |
commit | 1bfc8580e322450f8afaaf797e236469b948c984 (patch) | |
tree | b646871da93ec5a0820c891e74391131d65b0713 /plugins/mate/mate_grammar.lemon | |
parent | 0cc454359cadcb0ff2f11e53c39f50367254412e (diff) |
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 <guy@alum.mit.edu>
Diffstat (limited to 'plugins/mate/mate_grammar.lemon')
-rw-r--r-- | plugins/mate/mate_grammar.lemon | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |