aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee8021ah.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-12-13 09:50:01 -0500
committerMichael Mann <mmann78@netscape.net>2015-12-13 18:03:57 +0000
commita7fd6f2083443a5e88b649aa4c54fe6322f8cbe0 (patch)
tree2fd8bf10b2f7b45d8d2947f0314411296928876e /epan/dissectors/packet-ieee8021ah.c
parent47756e6304199bd27a19dd962cc5a0b1312d1aa8 (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-ieee8021ah.c')
-rw-r--r--epan/dissectors/packet-ieee8021ah.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-ieee8021ah.c b/epan/dissectors/packet-ieee8021ah.c
index c830ffd4f1..2ac42caf63 100644
--- a/epan/dissectors/packet-ieee8021ah.c
+++ b/epan/dissectors/packet-ieee8021ah.c
@@ -76,7 +76,7 @@ static gint ett_ieee8021ad = -1;
void
-capture_ieee8021ah(const guchar *pd, int offset, int len, packet_counts *ld)
+capture_ieee8021ah(const guchar *pd, int offset, int len, packet_counts *ld, const union wtap_pseudo_header *pseudo_header _U_)
{
guint16 encap_proto;
@@ -88,14 +88,14 @@ capture_ieee8021ah(const guchar *pd, int offset, int len, packet_counts *ld)
if (encap_proto <= IEEE_802_3_MAX_LEN) {
if ( pd[offset + IEEE8021AH_LEN] == 0xff
&& pd[offset + IEEE8021AH_LEN + 1] == 0xff ) {
- capture_ipx(ld);
+ capture_ipx(pd, offset + IEEE8021AH_LEN, len, ld, pseudo_header);
}
else {
- capture_llc(pd, offset + IEEE8021AH_LEN,len,ld, NULL);
+ capture_llc(pd, offset + IEEE8021AH_LEN, len, ld, pseudo_header);
}
}
else {
- capture_ethertype(encap_proto, pd, offset + IEEE8021AH_LEN, len, ld);
+ capture_ethertype(encap_proto, pd, offset + IEEE8021AH_LEN, len, ld, pseudo_header);
}
}