aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-shim6.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2017-08-31 18:49:15 +0100
committerJoão Valverde <j@v6e.pt>2017-09-02 16:06:42 +0000
commit692b1175e4d0493fcda0fbe8dd71ca33c2773a89 (patch)
tree841058844abe1ab9deacc01c2ae2d364c99808eb /epan/dissectors/packet-shim6.c
parent2330ba1b3d6e62272dbaf0d5b3b5e8481040a45f (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-shim6.c')
-rw-r--r--epan/dissectors/packet-shim6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-shim6.c b/epan/dissectors/packet-shim6.c
index 6216e09efd..00c9ed6414 100644
--- a/epan/dissectors/packet-shim6.c
+++ b/epan/dissectors/packet-shim6.c
@@ -31,7 +31,7 @@
#include <epan/in_cksum.h>
#include <epan/ipproto.h>
-#include "packet-ipv6.h"
+#include "packet-ip.h"
void proto_register_shim6(void);
void proto_reg_handoff_shim6(void);
@@ -639,7 +639,7 @@ dissect_shim6(tvbuff_t *tvb, packet_info * pinfo, proto_tree *tree, void* data)
}
next_tvb = tvb_new_subset_remaining(tvb, len);
- ipv6_dissect_next(shim.ip6s_nxt, next_tvb, pinfo, tree, (ws_ip *)data);
+ ipv6_dissect_next(shim.ip6s_nxt, next_tvb, pinfo, tree, (ws_ip6 *)data);
return tvb_captured_length(tvb);
}