aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-hpfeeds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-hpfeeds.c b/epan/dissectors/packet-hpfeeds.c
index 4efd91a669..8830452c6a 100644
--- a/epan/dissectors/packet-hpfeeds.c
+++ b/epan/dissectors/packet-hpfeeds.c
@@ -184,9 +184,9 @@ dissect_hpfeeds_subscribe_pdu(tvbuff_t *tvb, proto_tree *tree, guint offset)
* by the routine to re-assemble the protocol spread on multiple TCP packets
*/
static guint
-get_hpfeeds_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset _U_)
+get_hpfeeds_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset)
{
- return tvb_get_ntohl(tvb, 0);
+ return tvb_get_ntohl(tvb, offset);
}
static void