aboutsummaryrefslogtreecommitdiffstats
path: root/epan/stats_tree.c
diff options
context:
space:
mode:
authorRoland Knall <rknall@gmail.com>2022-06-09 17:47:35 +0200
committerRoland Knall <rknall@gmail.com>2022-06-10 05:46:15 +0000
commit2cf938cfa89ff56a35812067f024045652c3041b (patch)
tree30d570c6ba6d963bb83fdbc7f6b3e92f8df305b1 /epan/stats_tree.c
parent8b1d140c493b7dec3fd6fb1a750aa0da56a866f7 (diff)
tap: Adding flags for tap_packet
This allows flags to be passed by the registering listener to the collection of information
Diffstat (limited to 'epan/stats_tree.c')
-rw-r--r--epan/stats_tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/stats_tree.c b/epan/stats_tree.c
index 61b874bb53..96c6808131 100644
--- a/epan/stats_tree.c
+++ b/epan/stats_tree.c
@@ -376,7 +376,7 @@ stats_tree_new(stats_tree_cfg *cfg, tree_pres *pr, const char *filter)
/* will be the tap packet cb */
extern tap_packet_status
-stats_tree_packet(void *p, packet_info *pinfo, epan_dissect_t *edt, const void *pri)
+stats_tree_packet(void *p, packet_info *pinfo, epan_dissect_t *edt, const void *pri, tap_flags_t flags)
{
stats_tree *st = (stats_tree *)p;
@@ -386,7 +386,7 @@ stats_tree_packet(void *p, packet_info *pinfo, epan_dissect_t *edt, const void *
st->elapsed = st->now - st->start;
if (st->cfg->packet)
- return st->cfg->packet(st,pinfo,edt,pri);
+ return st->cfg->packet(st,pinfo,edt,pri, flags);
else
return TAP_PACKET_DONT_REDRAW;
}