summaryrefslogtreecommitdiff
path: root/ui/tap_export_pdu.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@zing.org>2015-08-02 15:33:07 -0700
committerGerald Combs <gerald@wireshark.org>2015-08-03 03:06:00 +0000
commit9557c73f81efad68ce3961a5ec18de2d985c4bb1 (patch)
tree528dab6173e9f59072f3b90d2d5c2fbdaf470023 /ui/tap_export_pdu.c
parent08e80b1653383fcbb42538b97e46e78d152b4893 (diff)
downloadwireshark-9557c73f81efad68ce3961a5ec18de2d985c4bb1.tar.gz
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 <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/tap_export_pdu.c')
-rw-r--r--ui/tap_export_pdu.c2
1 files changed, 1 insertions, 1 deletions
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;