aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate/mate.h
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.h
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.h')
-rw-r--r--plugins/mate/mate.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/mate/mate.h b/plugins/mate/mate.h
index 8278a6ca38..c9f7efdc76 100644
--- a/plugins/mate/mate.h
+++ b/plugins/mate/mate.h
@@ -47,7 +47,6 @@
#include <epan/prefs.h>
#include <epan/proto.h>
#include <epan/epan_dissect.h>
-#include <epan/tap.h>
#include <wsutil/filesystem.h>
#include "mate_util.h"
@@ -197,11 +196,8 @@ typedef struct _mate_config {
int hfid_mate;
- GArray *wanted_hfids; /* hfids of protocols and fields MATE needs */
-
- GString* fields_filter; /* "ip.addr || dns.id || ... " for the tap */
- GString* protos_filter; /* "dns || ftp || ..." for the tap */
- gchar* tap_filter;
+ GArray *wanted_hfids; /* hfids of protocols and fields MATE needs */
+ guint num_fields_wanted; /* number of fields MATE will look at */
FILE* dbg_facility; /* where to dump dbgprint output g_message if null */