aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mip6.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-04-18 23:09:47 +0200
committerMichael Mann <mmann78@netscape.net>2014-04-19 15:39:18 +0000
commit9496733c5309b51045b253bb8be87510e31b8076 (patch)
tree3ad0dc277d2493e3dffd893b85c68fd086af3793 /epan/dissectors/packet-mip6.c
parent80011ec03c034cbebbe901eb4ded1242efe8fc78 (diff)
IPv6 Authentication Header not parsed after Mobility Header
When IPv6 has a Mobility Header that is followed by an Authentication Header, the Authentication Header is not parsed. Found by Boaz Brickner Change-Id: Ib6ad759c9f08c94650d72d8dfcc95856e628d2e6 Close-Bug: 10005 Reviewed-on: https://code.wireshark.org/review/1205 Reviewed-by: Evan Huus <eapache@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-mip6.c')
-rw-r--r--epan/dissectors/packet-mip6.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/epan/dissectors/packet-mip6.c b/epan/dissectors/packet-mip6.c
index bf2f713a18..bbbf3850da 100644
--- a/epan/dissectors/packet-mip6.c
+++ b/epan/dissectors/packet-mip6.c
@@ -3620,6 +3620,17 @@ dissect_mip6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
col_set_str(pinfo->cinfo, COL_INFO, "Fast Neighbor Advertisement[Fast Binding Update]");
}
+
+ if ((type == MIP6_FBACK) && (pproto == IP_PROTO_AH)) {
+ tvbuff_t *ipv6_tvb;
+
+ ipv6_tvb = tvb_new_subset_remaining(tvb, len + offset);
+
+ /* Call the IPv6 dissector */
+ dissector_try_uint(ip_dissector_table, pproto, ipv6_tvb, pinfo, tree);
+
+ col_set_str(pinfo->cinfo, COL_INFO, "Fast Binding Acknowledgment");
+ }
}
/* Register the protocol with Wireshark */