Hi,
We're in need for FT_BCD and FT_PACKED_BCD types. I've once started on
them but ended up hacking my own proto_tree_add_packed_bcd() functions.
Still these types would be very nice to have.
Thanx,
Jaap
On Fri, 19 Jan 2007, Jeff Morriss wrote:
>
>
> taraniteja.vishwanatha@xxxxxxxxx wrote:
> [...]
> > proto_tree_add_string(tree, hf_xyz_imsi, tvb, (imsi_len/2 + 1),
> > (imsi_len/2 + 1), digit_str);
>
> [...]
>
> > When the above code snippet is executed, we are getting the following error:
> >
> > Warn Dissector bug, protocol MACIC, in packet 1: proto.c:1859: failed
> > assertion "hfinfo->type == FT_STRING || hfinfo->type == FT_STRINGZ"
>
> Well, what FT type is 'hf_xyz_imsi' in the hf[] array (probably in
> 'proto_register_macic()')? My guess is it's not an FT_STRING or FT_STRINGZ.
>
>