Wireshark-users: Re: [Wireshark-users] [Wireshark-dev] Use of User DLT
From: Stig Bjørlykke <stig.bjorlykke@xxxxxxxxx>
Date: Tue, 21 Jul 2009 20:33:16 +0200
On 21. juli. 2009, at 19.44, Mahesh K wrote:

Now when I try to configure DLT User 0 in wireshark (Edit- >Preferences->Protocols>DLT_USER->Edit Encapsulations Table and adding an entry to decode DLT 147 using the "ldm" plugin)

I get the following error "No such proto:ldm". Now I do see that the ldm dissector is successfully registered.


Try adding this after proto_register_protocol():

  register_dissector ("ldm", dissect_ldm, proto_ldm);

and remove the dissector_add() call, as you will setup this in the DLT_USER configuration.


--
Stig Bjørlykke