diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2017-08-31 18:49:15 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2017-09-02 16:06:42 +0000 |
commit | 692b1175e4d0493fcda0fbe8dd71ca33c2773a89 (patch) | |
tree | 841058844abe1ab9deacc01c2ae2d364c99808eb /epan/dissectors/packet-mip6.c | |
parent | 2330ba1b3d6e62272dbaf0d5b3b5e8481040a45f (diff) |
Have a single IPv6 tap
Optimize code and open possibility for enriching IPv6 tap data.
Change-Id: I5a204d7464cde32123d5bfe664cc9b6bcf08dbe1
Reviewed-on: https://code.wireshark.org/review/23340
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'epan/dissectors/packet-mip6.c')
-rw-r--r-- | epan/dissectors/packet-mip6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-mip6.c b/epan/dissectors/packet-mip6.c index 81cc2a49f0..00deaad81e 100644 --- a/epan/dissectors/packet-mip6.c +++ b/epan/dissectors/packet-mip6.c @@ -66,7 +66,7 @@ #include "packet-e164.h" #include "packet-e212.h" #include "packet-gsm_a_common.h" -#include "packet-ipv6.h" +#include "packet-ip.h" void proto_register_mip6(void); void proto_reg_handoff_mip6(void); @@ -3944,13 +3944,13 @@ dissect_mip6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) if ((type == MIP6_FNA) && (pproto == IP_PROTO_IPV6)) { col_set_str(pinfo->cinfo, COL_INFO, "Fast Neighbor Advertisement[Fast Binding Update]"); next_tvb = tvb_new_subset_remaining(tvb, len + 8); - ipv6_dissect_next(pproto, next_tvb, pinfo, tree, (ws_ip *)data); + ipv6_dissect_next(pproto, next_tvb, pinfo, tree, (ws_ip6 *)data); } if ((type == MIP6_FBACK) && (pproto == IP_PROTO_AH)) { col_set_str(pinfo->cinfo, COL_INFO, "Fast Binding Acknowledgment"); next_tvb = tvb_new_subset_remaining(tvb, len + offset); - ipv6_dissect_next(pproto, next_tvb, pinfo, tree, (ws_ip *)data); + ipv6_dissect_next(pproto, next_tvb, pinfo, tree, (ws_ip6 *)data); } return tvb_captured_length(tvb); |