The length field for HPFEEDS is 4 bytes, so actually get the whole
thing from the tvb.

svn path=/trunk/; revision=48832
This commit is contained in:
Evan Huus 2013-04-12 16:27:20 +00:00
parent 374c1dd1e3
commit 59851d0ab7
1 changed files with 2 additions and 2 deletions

View File

@ -311,7 +311,7 @@ dissect_hpfeeds(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
return;
/* get message length in order to decide if we need to reassemble packet */
msglen = tvb_get_guint8(tvb, offset);
msglen = tvb_get_ntohl(tvb, offset);
/* Retrieve header data */
if (tree) {