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


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to