aboutsummaryrefslogtreecommitdiffstats
path: root/ui/tap-tcp-stream.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-07-20 17:07:19 -0700
committerGuy Harris <guy@alum.mit.edu>2018-07-21 00:51:13 +0000
commit9b731e2b320ca936499bf7840a7b2ac5c2b64e05 (patch)
treeb8ab320176662c385a6d544e505eee173e18ffc1 /ui/tap-tcp-stream.c
parent66935d8baadfe7dd62b4e8d4412a47f311ead7f5 (diff)
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 <guy@alum.mit.edu>
Diffstat (limited to 'ui/tap-tcp-stream.c')
-rw-r--r--ui/tap-tcp-stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/tap-tcp-stream.c b/ui/tap-tcp-stream.c
index cbf7d2f178..036f775525 100644
--- a/ui/tap-tcp-stream.c
+++ b/ui/tap-tcp-stream.c
@@ -139,7 +139,7 @@ graph_segment_list_get(capture_file *cf, struct tcp_graph *tg, gboolean stream_k
ts.current = &current;
ts.tg = tg;
ts.last = NULL;
- error_string = register_tap_listener("tcp", &ts, "tcp", 0, NULL, tapall_tcpip_packet, NULL);
+ error_string = register_tap_listener("tcp", &ts, "tcp", 0, NULL, tapall_tcpip_packet, NULL, NULL);
if (error_string) {
fprintf(stderr, "wireshark: Couldn't register tcp_graph tap: %s\n",
error_string->str);
@@ -298,7 +298,7 @@ select_tcpip_session(capture_file *cf, struct segment *hdrs)
}
- error_string = register_tap_listener("tcp", &th, NULL, 0, NULL, tap_tcpip_packet, NULL);
+ error_string = register_tap_listener("tcp", &th, NULL, 0, NULL, tap_tcpip_packet, NULL, NULL);
if (error_string) {
fprintf(stderr, "wireshark: Couldn't register tcp_graph tap: %s\n",
error_string->str);