Checked in with a modification to keep:
guint preference_default_port = 0;
guint preference_default_port_last = 0;
Best regards
Anders
-----Ursprungligt meddelande-----
Från: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] För Stephen Fisher
Skickat: den 3 oktober 2006 01:24
Till: wireshark-dev@xxxxxxxxxxxxx
Ämne: [Wireshark-dev] [Patch] update to packet-newmail.c
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