Ethereal-dev: RE: [Ethereal-dev] GTP dissector: probable bug, some assistance needed
Hi Flavio
Please send me some examples of GTP-U with PPP payload, and I will try to get it working for any GTP coming from any vendor.
Thanks in advance for cooperation, cheers
Michal
-----Original Message-----
From: ext Flavio Poletti [mailto:flavio@xxxxxxxxxxx]
Sent: Friday, August 30, 2002 6:17 PM
To: ethereal-dev@xxxxxxxxxxxx
Subject: [Ethereal-dev] GTP dissector: probable bug, some assistance
needed
Hi,
still on the GTP dissector...
I noticed that PPP embedded in PCO from mobiles are incorrectly displayed.
In particular, when I select the line "Point-to-Point Protocol" (which is
two lines below "[WARNING] Next 3 bytes...") I notice that the hexadecimal
highlighting is incorrect, i.e. two more octets are selected.
I think that the problem is in line 3824, within function
decode_gtp_proto_conf():
next_tvb = tvb_new_subset (tvb, offset + 1, proto_len + 2, proto_len + 2);
Why do we need to pass "proto_len + 2"? Could it be here that the problem
arises? I've also noted that the contents of the PPP dissector are correctly
handles, i.e. the two extra bytes are not highlighted.
Thank you in advance and best regards,
Flavio.
--
Flavio Poletti
flavio[AT]polettix.it
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev