i dont think there exist any dissector tables for srcport or dstport
and you are using an older version of svn so that line number doesnt
make any sense to me.
there is a dissector table for "udp.port" try that one instead.
On 4/28/05, pcalvi <pcalvi@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> I've written a dissector (for an owner protocol) which must be able to be
> atop the UDP protocol when this one has a dst port number of 80 or a src
> port number of 80.
> To do that, I've just do the following steps :
> * add the following code : register_dissector("nl", dissect_nl_parkeon,
>
> proto_nl_parkeon); at the end of the proto_register_nl_parkeon(void)
> method
> * and the following method (as explained in the readme.developper ) :
>
>
> void proto_reg_handoff_nl_parkeon(void)
> {
> dissector_handle_t nl_parkeon_handle;
>
> nl_parkeon_handle = create_dissector_handle(dissect_nl_parkeon,
> proto_nl_parkeon);
>
> dissector_add("udp.srcport", 80, nl_parkeon_handle);
> dissector_add("udp.dstport", 80, nl_parkeon_handle);
> }
>
> When I build ethereal, the following error occurs :
>
> 94c8a2.jpg
>
>
> The way I'm adding this dissector is probably wrong (I've probably omitted
> something) but I'don't known what is it.
> Can someone help me please ?
>
> Regards,
> Pierre
>