diff options
author | Michael Mann <mmann78@netscape.net> | 2015-12-13 09:50:01 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-12-13 18:03:57 +0000 |
commit | a7fd6f2083443a5e88b649aa4c54fe6322f8cbe0 (patch) | |
tree | 2fd8bf10b2f7b45d8d2947f0314411296928876e /epan/dissectors/packet-atm.c | |
parent | 47756e6304199bd27a19dd962cc5a0b1312d1aa8 (diff) |
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 <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-atm.c')
-rw-r--r-- | epan/dissectors/packet-atm.c | 6 |
1 files changed, 3 insertions, 3 deletions
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: |