From f342fdcdb83d960bd59ab7e42237c18f9282adcc Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Mon, 14 Dec 2015 19:25:31 -0500 Subject: Create capture dissector "info" structure (capture_packet_info_t) While it currently only contains packet_counts, it will hopefully stabilize the capture function signature if more fields are added. Change-Id: I003552c58043c7c2d67aec458187b12b233057e2 Reviewed-on: https://code.wireshark.org/review/12690 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- epan/dissectors/packet-fddi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-fddi.c') diff --git a/epan/dissectors/packet-fddi.c b/epan/dissectors/packet-fddi.c index cd28e8ec1e..f2680249bc 100644 --- a/epan/dissectors/packet-fddi.c +++ b/epan/dissectors/packet-fddi.c @@ -200,7 +200,7 @@ fddi_hostlist_packet(void *pit, packet_info *pinfo, epan_dissect_t *edt _U_, con } static gboolean -capture_fddi(const guchar *pd, int offset, int len, packet_counts *ld, const union wtap_pseudo_header *pseudo_header _U_) +capture_fddi(const guchar *pd, int offset, int len, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header _U_) { int fc; @@ -231,7 +231,7 @@ capture_fddi(const guchar *pd, int offset, int len, packet_counts *ld, const uni case FDDI_FC_LLC_ASYNC + 13 : case FDDI_FC_LLC_ASYNC + 14 : case FDDI_FC_LLC_ASYNC + 15 : - return capture_llc(pd, offset, len, ld, pseudo_header); + return capture_llc(pd, offset, len, cpinfo, pseudo_header); } /* fc */ return FALSE; -- cgit v1.2.1