diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-10-31 09:29:07 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-10-31 09:29:07 +0000 |
commit | 2d1bb39121cf739517b55c68a84e5d9ad5b31619 (patch) | |
tree | fff9b9d1a5f7445ca000040fe0c8399298acbac8 /epan/dissectors/packet-s5066.c | |
parent | 4343de3513f4a1405f06ca9bdf82c134ac10594e (diff) |
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
Diffstat (limited to 'epan/dissectors/packet-s5066.c')
-rw-r--r-- | epan/dissectors/packet-s5066.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-s5066.c b/epan/dissectors/packet-s5066.c index 9d7bff05d4..ccbccac4aa 100644 --- a/epan/dissectors/packet-s5066.c +++ b/epan/dissectors/packet-s5066.c @@ -40,7 +40,7 @@ void proto_register_s5066(void); void proto_reg_handoff_s5066(void); /* Main dissectors */ static void dissect_s5066_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); -static guint get_s5066_pdu_len(tvbuff_t *tvb, int offset); +static guint get_s5066_pdu_len(packet_info *pinfo, tvbuff_t *tvb, int offset); static void dissect_s5066_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); /* Service type and address dissectors */ static guint dissect_s5066_servicetype(tvbuff_t *tvb, guint offset, proto_tree *tree); @@ -1256,7 +1256,7 @@ dissect_s5066_27(tvbuff_t *tvb, guint offset, proto_tree *tree) } static guint -get_s5066_pdu_len(tvbuff_t *tvb, int offset) +get_s5066_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset) { guint16 plen; |