From 28e9dcc4a9261a61b16dfd9a2051205289beb926 Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Sun, 21 Jul 2013 18:38:03 +0000 Subject: Some work on multi file dissection - make init_dissection/cleanup_dissection private for libwireshark - implement epan_new(), epan_free() - pass epan_t to epan_dissect* svn path=/trunk/; revision=50761 --- ui/gtk/tcp_graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/gtk/tcp_graph.c') diff --git a/ui/gtk/tcp_graph.c b/ui/gtk/tcp_graph.c index 8aa9793856..c7d715702f 100644 --- a/ui/gtk/tcp_graph.c +++ b/ui/gtk/tcp_graph.c @@ -1987,7 +1987,7 @@ static struct tcpheader *select_tcpip_session(capture_file *cf, struct segment * exit(1); } - epan_dissect_init(&edt, TRUE, FALSE); + epan_dissect_init(&edt, cf->epan, TRUE, FALSE); epan_dissect_prime_dfilter(&edt, sfcode); epan_dissect_run_with_taps(&edt, &cf->phdr, frame_tvbuff_new_buffer(fdata, &cf->buf), fdata, NULL); epan_dissect_cleanup(&edt); -- cgit v1.2.1