much better is to once you have detected that port A on host B uses that protocol
you create a conversation for host B port A and register the dissector for that particular protocol.
you can see examples of how this is done in (i think) the dissector for portmapper
On 10/3/06, Stephen Fisher <[EMAIL PROTECTED]> wrote:
Attached is a patch that changes packet-newmail.c to always register
itself on the port from the preferences (defaults to 0) upon launch.
This allows the user to right-click and use decode as. Currently, the
dissector only registers itself when the default port number changes
from 0 or by packet-dcerpc-mapi.c when a MAPI register push notification
packet is seen.
Thanks,
Steve
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev
_______________________________________________ Wireshark-dev mailing list [email protected] http://www.wireshark.org/mailman/listinfo/wireshark-dev
