Wireshark mailing list archives

Re: why wireshark plugin does not work here - dissector_add_uint()


From: Guy Harris <guy () alum mit edu>
Date: Tue, 16 Aug 2011 19:09:12 -0700


On Aug 16, 2011, at 7:02 PM, John x wrote:

I developed a plugin,

For which version of Wireshark?  There is no guarantee that a plugin for 1.x will work for 1.y; the only thing we 
attempt to guarantee is that a dissector for 1.x.y will work on 1.x.z.

      couldn't load module /usr/lib/wireshark/plugins/1.4.4/xxx.so:

...which means you're running the dissector on 1.4.x (1.4.4, in particular)...

undefined symbol: dissector_add_uint

...and wrote it for 1.6.x or the trunk.

That won't work.

If you want a dissector that works with 1.4.x, use "dissector_add_port()".

If you want a dissector that works with 1.6.x, use "dissector_add_uint()" (same routine, just a name that more 
correctly reflects what it does - the argument isn't necessarily a TCP or UDP or SCTP port number, it's just an 
integer, for example it could be an Ethernet type).
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: