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

Wireshark-dev: Re: [Wireshark-dev] Plugins, stat menus, and 1.8.0

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Tue, 09 Oct 2012 14:24:23 -0400
Looking at the last comments in the bug report, there was first a question of API/ABI change (which prevented the change from being backported) and then some question about whether/why the change was necessary at all. The result appears to have been that the change was never back-ported to the 1.8 trunk.

wsgd wrote:
Hello,

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7466 is FIXED.
But not on trunk 1.8 ?
Will it be fixed for 1.8 ?


It does NOT work for my plugin : nothing appears into statistics menu.
I'm on svn 45260   (1.8.3).

Was working before 1.8.


Thanks,
Olivier

Le 10/07/2012 23:32, David Ameiss a �crit :
Bug 7466 was opened.

On 07/09/2012 11:28 AM, Jeff Morriss wrote:
Oof, I keep forgetting about this and not having time to check into it.

Please open a bug so we can remember to do something about it...

David Ameiss wrote:
C plugin.

On Jun 28, 2012, at 2:57 PM, Jeff Morriss wrote:

David Ameiss wrote:
I've developed a plugin for my companies protocols. The plugin
includes a tap and 11 statistics trees, created via
stats_tree_register(). Under 1.6.8 and earlier, these statistics
items appear in the Statistics menu, as expected.
I recompiled the plugin for 1.8.0. Clean compile, no errors on
loading. However, the menu items no longer appear. No errors, but no
menu items.
I know the GUI stuff changed between 1.6.8 and 1.8.0. Are stats menu
items registered via stats_tree_register() no longer supported for
plugins? If they are supposed to be supported, where should I start
looking for the potential problem?
Is this a C plugin or a Lua script?

I had to change a bunch of stuff:

http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=41591

to get the Lua scripts stuff working again (and I thought it worked
when I was done). It may be that plugin stats were also broken (or I
broke it).

Needs more research after I've gotten some sleep...