diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-12-05 22:31:13 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-12-05 22:31:13 +0000 |
commit | 25e1cc2acfb559f9d1433c38adf41fc27864a5eb (patch) | |
tree | f50b81a8f8471d2cb119ddd5f032f0c6aaeb2edc /packet-gtp.c | |
parent | 20061ad04922cec5d8e00fb77d53ecd0cd164936 (diff) |
From Fritz Budiyanto: add a missing g_ntohs() for flow_label in the
gtpv0 decoder.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6749 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-gtp.c')
-rw-r--r-- | packet-gtp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-gtp.c b/packet-gtp.c index 62aa59401d..04aa4657db 100644 --- a/packet-gtp.c +++ b/packet-gtp.c @@ -4,7 +4,7 @@ * Copyright 2001, Michal Melerowicz <michal.melerowicz@nokia.com> * Nicolas Balkota <balkota@mac.com> * - * $Id: packet-gtp.c,v 1.47 2002/11/13 09:01:08 guy Exp $ + * $Id: packet-gtp.c,v 1.48 2002/12/05 22:31:13 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -4855,6 +4855,7 @@ dissect_gtpv0(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) 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); |