Re: [Wireshark-dev] Problems while displaying the digits in the packet

2007-01-19 Thread Jaap Keuter
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: > > > [EMAIL PROTECTED] wrote: > [...] > > proto_

Re: [Wireshark-dev] Problems while displaying the digits in the packet

2007-01-19 Thread Jeff Morriss
[EMAIL PROTECTED] 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 > as

Re: [Wireshark-dev] Problems while displaying the digits in the packet

2007-01-19 Thread Sebastien Tandel
Hi, It seems that hf_xyz_imsi that you have defined in your hf_register_info struct is not a FT_STRING or a FT_STRINGZ type. Regards, Sebastien Tandel [EMAIL PROTECTED] wrote: > > Hi , > > > > We have a parameter IMSI in our protocol . It has the following format : > > > > 7 > > > >

[Wireshark-dev] Problems while displaying the digits in the packet

2007-01-19 Thread taraniteja.vishwanatha
Hi , We have a parameter IMSI in our protocol . It has the following format : 7 6 5 4 3 2 1 0 octet Number of digits 3 IMSI digit 2 IMSI digit 1 4 IMSI digit 4 IMSI digit 3 5 IMSI digit 2n IMSI digit 2n-1 n+3 typedef struct dgt_set_t { unsigned char out[15]; }