Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Just what sort of Lua object to pass to DissectorTable.add?

From: Richard Sharpe <realrichardsharpe@xxxxxxxxx>
Date: Fri, 12 Oct 2018 08:49:53 -0700
On Fri, Oct 12, 2018 at 6:53 AM Richard Sharpe
<realrichardsharpe@xxxxxxxxx> wrote:
>
> Hi folks,
>
> The following Lua code is failing:
>
>   ent_table = DissectorTable.get("ethertype")
>   ent_table.add(35132, some_proto)

OK, Syntax Error. It should be "ent_table:add(...)

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)