TLS: Don't add to the info column if the msp ends in the same frame
If a multisegment TLS pdu begins and ends in the same frame, don't add "[TLS segment of a reassembled PDU]" to the info column.
This commit is contained in:
parent
db85804e92
commit
3846d35529
|
@ -1249,8 +1249,13 @@ again:
|
|||
const char *prefix;
|
||||
|
||||
if (msp->first_frame == pinfo->num) {
|
||||
/* This must be after the first pass. */
|
||||
prefix = "";
|
||||
col_set_str(pinfo->cinfo, COL_INFO, "[TLS segment of a reassembled PDU]");
|
||||
if (msp->last_frame == pinfo->num) {
|
||||
col_clear(pinfo->cinfo, COL_INFO);
|
||||
} else {
|
||||
col_set_str(pinfo->cinfo, COL_INFO, "[TLS segment of a reassembled PDU]");
|
||||
}
|
||||
} else {
|
||||
prefix = "Retransmitted ";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue