Fix the compilation.

I guess this is what is meant. Only compile tested...

svn path=/trunk/; revision=52928
This commit is contained in:
Michael Tüxen 2013-10-28 18:59:33 +00:00
parent 3f0e0d5cbf
commit 9a2f5a2db2
1 changed files with 3 additions and 5 deletions

View File

@ -1117,13 +1117,11 @@ dissect_diameter_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* TODO: Populate result_code in tap record from AVP 268 */ /* TODO: Populate result_code in tap record from AVP 268 */
} }
} }
offset = 20;
} }
offset = 20;
/* Store the application id to be used by subdissectors */ /* Store the application id to be used by subdissectors */
/* Dissect AVPs until the end of the packet is reached */ /* Dissect AVPs until the end of the packet is reached */
while (offset < packet_len) { while (offset < packet_len) {
offset += dissect_diameter_avp(c, tvb, offset, diam_sub_dis_inf); offset += dissect_diameter_avp(c, tvb, offset, diam_sub_dis_inf);