aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/cmp/packet-cmp-template.c
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/cmp/packet-cmp-template.c')
-rw-r--r--asn1/cmp/packet-cmp-template.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/asn1/cmp/packet-cmp-template.c b/asn1/cmp/packet-cmp-template.c
index 2281da2298..177ababbe3 100644
--- a/asn1/cmp/packet-cmp-template.c
+++ b/asn1/cmp/packet-cmp-template.c
@@ -192,11 +192,6 @@ static int dissect_cmp_tcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *pa
return offset;
}
-static void dissect_cmp_tcp_pdu_no_return(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
-{
- dissect_cmp_tcp_pdu(tvb, pinfo, parent_tree, NULL);
-}
-
static guint get_cmp_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset)
{
guint32 plen;
@@ -212,7 +207,7 @@ static guint get_cmp_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset)
/* CMP over TCP: RFC2510 section 5.2 and "Transport Protocols for CMP" draft */
static int
-dissect_cmp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *data _U_)
+dissect_cmp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *data)
{
guint32 pdu_len;
guint8 pdu_type;
@@ -262,7 +257,7 @@ dissect_cmp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void
}
tcp_dissect_pdus(tvb, pinfo, parent_tree, cmp_desegment, offset, get_cmp_pdu_len,
- dissect_cmp_tcp_pdu_no_return);
+ dissect_cmp_tcp_pdu, data);
return tvb_length(tvb);
}