Increase size of an integer to prevent an integer overflow

Fixes Bug 162

svn path=/trunk/; revision=14325
This commit is contained in:
Lars Roland 2005-05-07 00:14:11 +00:00
parent a456014e29
commit 52d26f6eb8
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ dissect_option_route( guchar parm_type, int offset, guchar parm_len,
tvbuff_t *tvb, proto_tree *tree ) {
guchar next_hop = 0;
guchar this_hop = 0;
guint16 this_hop = 0;
guchar netl = 0;
guchar last_hop = 0;
guchar cnt_hops = 0;