Ethereal

Re: [Ethereal-dev] packet-gtp.c: flow_label is in network order
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: December 2002


On Thu, Dec 05, 2002 at 02:14:48PM -0800, Budiyanto Fritz wrote:
> missing g_ntohs() for flow_label on gtpv0 decoder.
> Here I include the patch

Checked in (with the indentation:

>  		gtpv0_hdr.length = g_ntohs(gtpv0_hdr.length);
>  		gtpv0_hdr.seq_no = g_ntohs(gtpv0_hdr.seq_no);
> +        gtpv0_hdr.flow_label = g_ntohs(gtpv0_hdr.flow_label);
>  		proto_tree_add_uint(gtpv0_tree, hf_gtpv0_message_type, tvb, 1, 1, gtpv0_hdr.message);
>  		proto_tree_add_uint(gtpv0_tree, hf_gtpv0_length, tvb, 2, 2, gtpv0_hdr.length);
>  		proto_tree_add_uint(gtpv0_tree, hf_gtpv0_seq_number, tvb, 4, 2, gtpv0_hdr.seq_no);

fixed).


Powered by MHonArc 2.6.10