diff --git a/epan/dissectors/packet-tls.c b/epan/dissectors/packet-tls.c index 05f35f7c4d..420e2e8dc3 100644 --- a/epan/dissectors/packet-tls.c +++ b/epan/dissectors/packet-tls.c @@ -1112,7 +1112,7 @@ process_ssl_payload(tvbuff_t *tvb, int offset, packet_info *pinfo, dissector_handle_t app_handle_port); static guint32 -tls_msp_frament_id(struct tcp_multisegment_pdu *msp) +tls_msp_fragment_id(struct tcp_multisegment_pdu *msp) { /* * If a frame contains multiple appdata PDUs, then "first_frame" is not @@ -1213,7 +1213,7 @@ again: } ipfd_head = fragment_add(&ssl_reassembly_table, tvb, offset, - pinfo, tls_msp_frament_id(msp), NULL, + pinfo, tls_msp_fragment_id(msp), NULL, seq - msp->seq, len, (LT_SEQ (nxtseq,msp->nxtpdu))); @@ -1339,7 +1339,7 @@ again: * needs desegmentation). */ fragment_set_partial_reassembly(&ssl_reassembly_table, - pinfo, msp->first_frame, NULL); + pinfo, tls_msp_fragment_id(msp), NULL); /* Update msp->nxtpdu to point to the new next * pdu boundary. */ @@ -1485,7 +1485,7 @@ again: /* add this segment as the first one for this new pdu */ fragment_add(&ssl_reassembly_table, tvb, deseg_offset, - pinfo, tls_msp_frament_id(msp), NULL, + pinfo, tls_msp_fragment_id(msp), NULL, 0, nxtseq - deseg_seq, LT_SEQ(nxtseq, msp->nxtpdu)); }