diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-07-21 18:38:03 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-07-21 18:38:03 +0000 |
commit | 28e9dcc4a9261a61b16dfd9a2051205289beb926 (patch) | |
tree | 69465d340a5472a87467c43de32fd9f6a3035b1a /proto_hier_stats.c | |
parent | 9e7b6f1a69c516579ffd4618f89e20559d738666 (diff) | |
download | wireshark-28e9dcc4a9261a61b16dfd9a2051205289beb926.tar.gz wireshark-28e9dcc4a9261a61b16dfd9a2051205289beb926.tar.bz2 wireshark-28e9dcc4a9261a61b16dfd9a2051205289beb926.zip |
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
Diffstat (limited to 'proto_hier_stats.c')
-rw-r--r-- | proto_hier_stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_hier_stats.c b/proto_hier_stats.c index 4ff34ba10b..d1ac0232b6 100644 --- a/proto_hier_stats.c +++ b/proto_hier_stats.c @@ -151,7 +151,7 @@ process_frame(frame_data *frame, column_info *cinfo, ph_stats_t* ps) return FALSE; /* failure */ /* Dissect the frame tree not visible */ - epan_dissect_init(&edt, TRUE, FALSE); + epan_dissect_init(&edt, cfile.epan, TRUE, FALSE); /* Don't fake protocols. We need them for the protocol hierarchy */ epan_dissect_fake_protocols(&edt, FALSE); epan_dissect_run(&edt, &phdr, frame_tvbuff_new_buffer(frame, &buf), frame, cinfo); |