From 9557c73f81efad68ce3961a5ec18de2d985c4bb1 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Sun, 2 Aug 2015 15:33:07 -0700 Subject: Make sure per-packet tap callbacks return gbooleans. The tap API changed the return type of per-packet listener callbacks from int to gboolean back in 2009. Update a bunch of functions and some documentation accordingly. Change-Id: I79affe65db975caed3cc296a7e2985b7b9cdf4cc Reviewed-on: https://code.wireshark.org/review/9853 Petri-Dish: Gerald Combs Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs --- ui/tap_export_pdu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/tap_export_pdu.c') diff --git a/ui/tap_export_pdu.c b/ui/tap_export_pdu.c index a2a03377c6..7a315a8b29 100644 --- a/ui/tap_export_pdu.c +++ b/ui/tap_export_pdu.c @@ -38,7 +38,7 @@ #include "tap_export_pdu.h" /* Main entry point to the tap */ -static int +static gboolean export_pdu_packet(void *tapdata, packet_info *pinfo, epan_dissect_t *edt, const void *data) { const exp_pdu_data_t *exp_pdu_data = (const exp_pdu_data_t *)data; -- cgit v1.2.3