Select correct bytes range for Algorithms tree.
svn path=/trunk/; revision=25251
This commit is contained in:
parent
607076675a
commit
fbefbac6fa
|
@ -704,8 +704,9 @@ ssh_dissect_key_init(tvbuff_t *tvb, int offset, proto_tree *tree )
|
|||
{
|
||||
guint len;
|
||||
int i;
|
||||
int start_offset = offset;
|
||||
|
||||
proto_item *tf;
|
||||
proto_item *tf = NULL;
|
||||
proto_item *key_init_tree=NULL;
|
||||
|
||||
if (tree) {
|
||||
|
@ -729,6 +730,11 @@ ssh_dissect_key_init(tvbuff_t *tvb, int offset, proto_tree *tree )
|
|||
}
|
||||
offset+=len;
|
||||
}
|
||||
|
||||
if (tf != NULL) {
|
||||
proto_item_set_len(tf, offset-start_offset);
|
||||
}
|
||||
|
||||
return offset;
|
||||
}
|
||||
proto_item *
|
||||
|
|
Loading…
Reference in New Issue