Try register_init_routine(proto_init_routine); into handoff function.
void proto_init_routine()
{
...
}
Olivier
C�sar Gomes a �crit :
Hello everyone,
I'm currently working on a dissector, and I need to make so that one
variable has the same value at the begining of a capture, the value
then can change, but in the beginning it has to be the same, how can I
do that? I would apreciate any help.
Best Regards
C�sar Gomes
------------------------------------------------------------------------
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
--
Wireshark Generic Dissector http://wsgd.free.fr