1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

Fix some minor issues with the old Wireshark Plugin. It won't compile past Wireshark 1.8 which is way outdated.

added void *data _U_ to the dissecor definition per - https://ask.wireshark.org/questions/22590/dissector-handle
This commit is contained in:
Kevin Finisterre 2015-04-28 14:21:37 -04:00
parent 7f2aeb371b
commit 25a91bc5fc
4 changed files with 4 additions and 4 deletions

View File

@ -81,7 +81,7 @@ LIBS =
# a plugin.c file for a plugin.
# All subsequent arguments are the files to scan.
#
plugin.c: $(DISSECTOR_SRC) Makefile.common $(top_srcdir)/tools/make-dissector-reg \
plugin.c: $(DISSECTOR_SRC) Makefile.common \
$(top_srcdir)/tools/make-dissector-reg.py
@if test -n "$(PYTHON)"; then \
echo Making plugin.c with python ; \

View File

@ -49,7 +49,7 @@ $(ENUMFIELDNAMES)
void proto_reg_handoff_op_uavobjects_$(NAMELC)(void);
static int dissect_uavo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
static int dissect_uavo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
int offset = 0;

View File

@ -81,7 +81,7 @@ LIBS =
# a plugin.c file for a plugin.
# All subsequent arguments are the files to scan.
#
plugin.c: $(DISSECTOR_SRC) Makefile.common $(top_srcdir)/tools/make-dissector-reg \
plugin.c: $(DISSECTOR_SRC) Makefile.common \
$(top_srcdir)/tools/make-dissector-reg.py
@if test -n "$(PYTHON)"; then \
echo Making plugin.c with python ; \

View File

@ -66,7 +66,7 @@ void proto_reg_handoff_op_uavtalk(void);
#define UAVTALK_HEADER_SIZE 8
#define UAVTALK_TRAILER_SIZE 1
static int dissect_op_uavtalk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
static int dissect_op_uavtalk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
gint offset = 0;