diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2014-09-06 00:32:05 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2014-09-05 22:39:02 +0000 |
commit | b515cd3aec86f529643293995097f5a38468efa3 (patch) | |
tree | 1915085187658312ef97113d3e95216d18b6ee3b /epan/dissectors/packet-icmpv6.c | |
parent | 56ae87a3dd471918a5a0c2f579f7f2a761d446aa (diff) |
6LoWPAN: fix storage of contexts coming from ICMPv6 Router Advertisement messages
Bug: 10443
Change-Id: I1a74b4d3036c61f0c8e1fca6373845ea40d87808
Reviewed-on: https://code.wireshark.org/review/4008
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-icmpv6.c')
-rw-r--r-- | epan/dissectors/packet-icmpv6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-icmpv6.c b/epan/dissectors/packet-icmpv6.c index 812c5acaca..2ace022bc2 100644 --- a/epan/dissectors/packet-icmpv6.c +++ b/epan/dissectors/packet-icmpv6.c @@ -2188,8 +2188,8 @@ dissect_icmpv6_nd_opt(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree break; } /* Update the 6LoWPAN dissectors with new context information. */ - hints = (ieee802154_hints_t *)p_get_proto_data(wmem_file_scope(), pinfo, 0, - proto_get_id_by_filter_name(IEEE802154_PROTOABBREV_WPAN)); + hints = (ieee802154_hints_t *)p_get_proto_data(wmem_file_scope(), pinfo, + proto_get_id_by_filter_name(IEEE802154_PROTOABBREV_WPAN), 0); if ((opt_len <= 24) && hints) { lowpan_context_insert(context_id, hints->src_pan, context_len, &context_prefix, pinfo->fd->num); } |