summaryrefslogtreecommitdiff
path: root/asn1/nbap
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-09-20 14:19:31 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-09-20 14:19:31 +0000
commit95c5f81c83f903b23998e482dafb1e8ed8a09a43 (patch)
tree263af214c3a759128aaa5dfe4b3883c57d6155d8 /asn1/nbap
parent067ca19a47b7c14638987ea318476cb5265308c7 (diff)
downloadwireshark-95c5f81c83f903b23998e482dafb1e8ed8a09a43.tar.gz
DCH-ID can be 255
svn path=/trunk/; revision=52154
Diffstat (limited to 'asn1/nbap')
-rw-r--r--asn1/nbap/nbap.cnf2
-rw-r--r--asn1/nbap/packet-nbap-template.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/asn1/nbap/nbap.cnf b/asn1/nbap/nbap.cnf
index c106766718..ee041e4407 100644
--- a/asn1/nbap/nbap.cnf
+++ b/asn1/nbap/nbap.cnf
@@ -671,7 +671,7 @@ guint32 payload_crc_value;
#.FN_BODY DCH-Specific-FDD-Item/dCH-ID
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
- 0U, maxNrOfDCHs, &dch_id, FALSE);
+ 0U, 255U, &dch_id, FALSE);
if(g_num_dch_in_flow>0){
g_dchs_in_flow_list[g_num_dch_in_flow-1]=dch_id;
diff --git a/asn1/nbap/packet-nbap-template.c b/asn1/nbap/packet-nbap-template.c
index b91a372aa8..5535feb248 100644
--- a/asn1/nbap/packet-nbap-template.c
+++ b/asn1/nbap/packet-nbap-template.c
@@ -130,7 +130,7 @@ typedef struct
}nbap_dch_channel_info_t;
-nbap_dch_channel_info_t nbap_dch_chnl_info[maxNrOfDCHs];
+nbap_dch_channel_info_t nbap_dch_chnl_info[256];
/* Struct to collect E-DCH data in a packet
* As the address data comes before the ddi entries