From 2d1bb39121cf739517b55c68a84e5d9ad5b31619 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Tue, 31 Oct 2006 09:29:07 +0000 Subject: change the signature for the get_pdu_len() function pointer passed to tcp_dissect_pdus() to also include a packet_info pointer. there are many reasons why some protocols actually need to be able to access the pinfo structure while determining the pdu size svn path=/trunk/; revision=19751 --- epan/dissectors/packet-enip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-enip.c') diff --git a/epan/dissectors/packet-enip.c b/epan/dissectors/packet-enip.c index 072f23ed21..d7112f3312 100644 --- a/epan/dissectors/packet-enip.c +++ b/epan/dissectors/packet-enip.c @@ -527,7 +527,7 @@ classify_packet(packet_info *pinfo) } static guint -get_enip_pdu_len(tvbuff_t *tvb, int offset) +get_enip_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset) { guint16 plen; -- cgit v1.2.3