aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gtp.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2012-09-06 20:58:32 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2012-09-06 20:58:32 +0000
commit1c2f498a8227a5fc09718e96e4cdb48bd2f9e269 (patch)
treef8dfee799fcec39ae5fb1032637307f37077a783 /epan/dissectors/packet-gtp.c
parentd8a7eed0a74ac3ca7168a5fce5acf473d93a40f6 (diff)
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7697 :
Fix dissection of release 98 and release 99 QoS profiles (bug introduced in r43312) svn path=/trunk/; revision=44792
Diffstat (limited to 'epan/dissectors/packet-gtp.c')
-rw-r--r--epan/dissectors/packet-gtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gtp.c b/epan/dissectors/packet-gtp.c
index b77be55b90..01523433e1 100644
--- a/epan/dissectors/packet-gtp.c
+++ b/epan/dissectors/packet-gtp.c
@@ -4222,7 +4222,7 @@ decode_qos_umts(tvbuff_t * tvb, int offset, proto_tree * tree, const gchar * qos
break;
}
- if ((type == 3) && (rel_ind >= 8)) {
+ if ((type == 3) && (rel_ind == 8)) {
/* Release 8 or higher P-GW QoS profile */
offset++;
arp = wrapped_tvb_get_guint8(tvb, offset, 2);
@@ -8463,7 +8463,7 @@ proto_register_gtp(void)
},
{&hf_gtp_qos_version,
{ "Version", "gtp.qos_version",
- FT_UINT8, BASE_DEC, NULL, 0,
+ FT_UINT8, BASE_HEX, NULL, 0,
"Version of the QoS Profile", HFILL}
},
{&hf_gtp_qos_spare1,