diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2008-04-28 10:23:25 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2008-04-28 10:23:25 +0000 |
commit | 6d9fde71a60e03eb534bc6f19b1c904f1e5fd7e1 (patch) | |
tree | e09a647eb8cb57135188cdc0fdb0ef7a76bcf96f /epan/dissectors/packet-umts_fp.c | |
parent | ea13bae7384ef0226008154b069101f989cb3106 (diff) |
Fix test for unlimited credits value in new alloc format.
svn path=/trunk/; revision=25185
Diffstat (limited to 'epan/dissectors/packet-umts_fp.c')
-rw-r--r-- | epan/dissectors/packet-umts_fp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c index 568f5e1429..502f4c7645 100644 --- a/epan/dissectors/packet-umts_fp.c +++ b/epan/dissectors/packet-umts_fp.c @@ -908,7 +908,7 @@ int dissect_hsdpa_capacity_allocation_type_2(packet_info *pinfo, proto_tree *tre PI_RESPONSE_CODE, PI_NOTE, "Stop HSDPA transmission"); } - if (credits == 2047) + if (credits == 65535) { proto_item_append_text(ti, " (unlimited)"); } @@ -932,7 +932,7 @@ int dissect_hsdpa_capacity_allocation_type_2(packet_info *pinfo, proto_tree *tre } /* Calculated and show effective rate enabled */ - if (credits == 2047) + if (credits == 65535) { rate_ti = proto_tree_add_item(tree, hf_fp_hsdsch_unlimited_rate, tvb, 0, 0, FALSE); PROTO_ITEM_SET_GENERATED(rate_ti); |