Guy Harris wrote:
> What error do you get?
Thank you for the answer !
I get next:
> MYPROTO Ptotocol
Field magic1: 0x1
Field flags: 0x0
Field sz: 0
Field e_flags: 0x0
Field magic2: 0x2
Binary datas range from 0-*: <MISSING>
------- Here must be the 'Field magic3: 0x3' but it is not !!! --------
> Dissector bug, protocol MYPROTO: proto.c:3566: failed assertion "DISSECTOR_ASSERT_NOT_REACHED"
PS: needs for to allow for 'Binary datas range from 0-*' to be 0 length (by the field sz),
and magic3 must be shown ...
--
regards