forked from osmocom/wireshark
From Sebastiano Di Paola via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8577
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:
parent
374c1dd1e3
commit
59851d0ab7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue