ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Creating submenus under "Statistics" menu from a plugin

From: Martin Isaksson <martin.isaksson@xxxxxxxxxxxx>
Date: Thu, 20 Sep 2012 23:00:19 +0200
Hi,
 
How can I add submenus under the Statistics menu from my plugin?
 
I use the code
stats_tree_register_plugin("gtp", "gtp", "GTP / TEID", 0, gtp_teid_stats_tree_packet, gtp_teid_stats_tree_init , NULL );
 
To register my plugin, and http://www.wireshark.org/docs/wsdg_html_chunked/ChDissectStats.html tells me a '/' should produce a submenu. Well that's not working... What am I doing wrong?
 
The function stats_tree_register(...) doesn't seem to do anything anymore.
 
Thanks in advance!
Martin