aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/ranap
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2005-11-13 18:09:44 +0000
committerAnders Broman <anders.broman@ericsson.com>2005-11-13 18:09:44 +0000
commit42ed3aede8d6bc03dc8d9f3906761f6d5981874c (patch)
tree8a06c8957fbf5329ac0f4f35a54a21c6f1b20fe9 /asn1/ranap
parent131a1b32693ffe32d2287a58826dbb4d897b2f92 (diff)
Fix the lenght calculation.
svn path=/trunk/; revision=16499
Diffstat (limited to 'asn1/ranap')
-rw-r--r--asn1/ranap/Makefile.nmake4
-rw-r--r--asn1/ranap/packet-ranap-template.c7
-rw-r--r--asn1/ranap/ranap.asn2
3 files changed, 10 insertions, 3 deletions
diff --git a/asn1/ranap/Makefile.nmake b/asn1/ranap/Makefile.nmake
index a76be25447..b34c979de3 100644
--- a/asn1/ranap/Makefile.nmake
+++ b/asn1/ranap/Makefile.nmake
@@ -37,5 +37,5 @@ fix_eol: generate_dissector
del /f packet-$(PROTOCOL_NAME).c.tmp packet-$(PROTOCOL_NAME).h.tmp
copy_files: generate_dissector fix_eol
- xcopy packet-$(PROTOCOL_NAME).c ..\..\epan\dissectors /d
- xcopy packet-$(PROTOCOL_NAME).h ..\..\epan\dissectors /d
+ xcopy packet-$(PROTOCOL_NAME).c ..\..\epan\dissectors /d /y
+ xcopy packet-$(PROTOCOL_NAME).h ..\..\epan\dissectors /d /y
diff --git a/asn1/ranap/packet-ranap-template.c b/asn1/ranap/packet-ranap-template.c
index 4613002060..209081d7c1 100644
--- a/asn1/ranap/packet-ranap-template.c
+++ b/asn1/ranap/packet-ranap-template.c
@@ -551,6 +551,7 @@ static int dissect_ranap_ies(tvbuff_t *tvb, int offset, packet_info *pinfo, prot
offset = dissect_id_E_DCH_MAC_d_Flow_ID(tvb, offset, pinfo, tree);
break;
default:
+ offset = offset + (length<<3);
break;
}
@@ -569,6 +570,7 @@ static int dissect_ranap_FirstValue_ies(tvbuff_t *tvb, int offset, packet_info *
offset = dissect_id_RAB_SetupOrModifyItem1(tvb, offset, pinfo, tree);
break;
default:
+ offset = offset + (length<<3);
break;
}
/* We might not stop on a byte boundary */
@@ -587,6 +589,7 @@ static int dissect_ranap_SecondValue_ies(tvbuff_t *tvb, int offset, packet_info
offset = dissect_id_RAB_SetupOrModifyItem2(tvb, offset, pinfo, tree);
break;
default:
+ offset = offset + (length<<3);
break;
}
/* We might not stop on a byte boundary */
@@ -728,6 +731,7 @@ static int dissect_ranap_messages(tvbuff_t *tvb, int offset, packet_info *pinfo,
offset = dissect_mBMSRABReleaseRequest(tvb, offset, pinfo, tree);
break;
default:
+ offset = offset + (length<<3);
break;
}
break;
@@ -843,6 +847,7 @@ static int dissect_ranap_messages(tvbuff_t *tvb, int offset, packet_info *pinfo,
offset = dissect_mBMSRABRelease(tvb, offset, pinfo, tree);
break;
default:
+ offset = offset + (length<<3);
break;
}
break;
@@ -944,6 +949,7 @@ static int dissect_ranap_messages(tvbuff_t *tvb, int offset, packet_info *pinfo,
offset = dissect_mBMSRABReleaseFailure(tvb, offset, pinfo, tree);
break;
default:
+ offset = offset + (length<<3);
break;
}
break;
@@ -1038,6 +1044,7 @@ static int dissect_ranap_messages(tvbuff_t *tvb, int offset, packet_info *pinfo,
case 42: /* id-MBMSRABRelease*/
break;
default:
+ offset = offset + (length<<3);
break;
}
break;
diff --git a/asn1/ranap/ranap.asn b/asn1/ranap/ranap.asn
index b42bb0ec70..9f3251df77 100644
--- a/asn1/ranap/ranap.asn
+++ b/asn1/ranap/ranap.asn
@@ -1,4 +1,4 @@
--- $Id:$
+-- $Id$
-- **************************************************************
--
-- Elementary Procedure definitions