aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate/mate_grammar.lemon
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-04-16 19:37:00 -0700
committerGuy Harris <guy@alum.mit.edu>2017-04-17 02:37:31 +0000
commitb9c6e2d3915bc41b04420fb1fa99b1b7d12b0a21 (patch)
tree05e10cecc28cd9d97a1a907ab924610208bb8b20 /plugins/mate/mate_grammar.lemon
parentacf349ea486799be4c28bc98fb674c145fbb66c6 (diff)
Remove unnecessary tap.
The tap was just a trick to get fields and protocols registered as being of interest. Now that we have mechanisms by which postdissectors can explicitly register fields and protocols as being of interest, and are using that, the trick is no longer needed. Change-Id: Ib2620ff32c41ffa050203c1d4481c63535fb3f4b Reviewed-on: https://code.wireshark.org/review/21156 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'plugins/mate/mate_grammar.lemon')
-rw-r--r--plugins/mate/mate_grammar.lemon6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/mate/mate_grammar.lemon b/plugins/mate/mate_grammar.lemon
index 1235a2dd3d..f40243789f 100644
--- a/plugins/mate/mate_grammar.lemon
+++ b/plugins/mate/mate_grammar.lemon
@@ -440,8 +440,6 @@ pdu_decl ::=
*/
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 */
for (i = Stack->len - 1; Stack->len; i--) {
g_ptr_array_add(transport_stack,g_ptr_array_remove_index(Stack,i));
@@ -509,8 +507,6 @@ last_extracted_statement(A) ::= . { A = mc->defaults.pdu.last_extracted; }
proto_stack(A) ::= proto_stack(B) SLASH field(C). {
int* hfidp = (int *)g_malloc(sizeof(int));
- g_string_append_printf(mc->fields_filter,"||%s",C->abbrev);
-
*hfidp = C->id;
g_ptr_array_add(B,hfidp);
A = B;
@@ -520,8 +516,6 @@ proto_stack(A) ::= field(B). {
int* hfidp = (int *)g_malloc(sizeof(int));
*hfidp = B->id;
- g_string_append_printf(mc->fields_filter,"||%s",B->abbrev);
-
A = g_ptr_array_new();
g_ptr_array_add(A,hfidp);
}