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 <[email protected]>
> Archives: http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
> mailto:[email protected]?subject=unsubscribe
--
Wireshark Generic Dissector http://wsgd.free.fr
___________________________________________________________________________
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