Wireshark-dev: Re: [Wireshark-dev] Plugins, stat menus, and 1.8.0
From: David Ameiss <netshark@xxxxxxxxxxxxx>
Date: Thu, 28 Jun 2012 14:59:21 -0700
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...
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe

--
David Ameiss
netshark@xxxxxxxxxxxxx