From 9b731e2b320ca936499bf7840a7b2ac5c2b64e05 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 20 Jul 2018 17:07:19 -0700 Subject: Add a tap "finish" callback, called when a listener is removed. Change-Id: Ic6c23dbd39d1adf8f730f1c866e409f731947475 Reviewed-on: https://code.wireshark.org/review/28786 Reviewed-by: Guy Harris --- ui/tap-rlc-graph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/tap-rlc-graph.c') diff --git a/ui/tap-rlc-graph.c b/ui/tap-rlc-graph.c index a47b67ebbc..af1a982451 100644 --- a/ui/tap-rlc-graph.c +++ b/ui/tap-rlc-graph.c @@ -121,7 +121,7 @@ rlc_lte_tap_info *select_rlc_lte_session(capture_file *cf, } /* Set tap listener that will populate th. */ - error_string = register_tap_listener("rlc-lte", &th, NULL, 0, NULL, tap_lte_rlc_packet, NULL); + error_string = register_tap_listener("rlc-lte", &th, NULL, 0, NULL, tap_lte_rlc_packet, NULL, NULL); if (error_string){ fprintf(stderr, "wireshark: Couldn't register rlc_lte_graph tap: %s\n", error_string->str); @@ -261,7 +261,7 @@ gboolean rlc_graph_segment_list_get(capture_file *cf, struct rlc_graph *g, gbool */ g->last_segment = NULL; - error_string = register_tap_listener("rlc-lte", g, "rlc-lte", 0, NULL, rlc_lte_tap_for_graph_data, NULL); + error_string = register_tap_listener("rlc-lte", g, "rlc-lte", 0, NULL, rlc_lte_tap_for_graph_data, NULL, NULL); if (error_string) { fprintf(stderr, "wireshark: Couldn't register rlc_graph tap: %s\n", error_string->str); -- cgit v1.2.3