From a7fd6f2083443a5e88b649aa4c54fe6322f8cbe0 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Sun, 13 Dec 2015 09:50:01 -0500 Subject: Standardize the capture dissector function signature. This will make it easier to mold into (capture) dissector tables. Change-Id: Iad63f2c2869782977992a3a072adb020be4b1818 Reviewed-on: https://code.wireshark.org/review/12587 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- epan/dissectors/packet-atm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'epan/dissectors/packet-atm.c') diff --git a/epan/dissectors/packet-atm.c b/epan/dissectors/packet-atm.c index 195c71a83e..dba720bc95 100644 --- a/epan/dissectors/packet-atm.c +++ b/epan/dissectors/packet-atm.c @@ -664,8 +664,8 @@ dissect_le_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } static void -capture_lane(const union wtap_pseudo_header *pseudo_header, const guchar *pd, - int len, packet_counts *ld) +capture_lane(const guchar *pd, int offset _U_, + int len, packet_counts *ld, const union wtap_pseudo_header *pseudo_header) { /* Is it LE Control, 802.3, 802.5, or "none of the above"? */ switch (pseudo_header->atm.subtype) { @@ -820,7 +820,7 @@ capture_atm(const guchar *pd, int offset _U_, break; case TRAF_LANE: - capture_lane(pseudo_header, pd, len, ld); + capture_lane(pd, offset, len, ld, pseudo_header); break; default: -- cgit v1.2.3