TSG-4030 Security Event Logs 中的 SSL.Intercept State 为 Passthrough 时,并未说明引起 Passthrough 的原因
(当命中 tcp passthrough 时,将 ssl_intercept_status 设置为 passthrough)
This commit is contained in:
@@ -62,6 +62,17 @@ int tfe_cmsg_set(struct tfe_cmsg * cmsg, enum tfe_cmsg_tlv_type type, const unsi
|
||||
}
|
||||
struct tfe_cmsg_tlv *tlv = cmsg->tlvs[type];
|
||||
uint16_t length = sizeof(struct tfe_cmsg_tlv) + size;
|
||||
|
||||
// If the current tlv has been set, the previous value will be overwritten
|
||||
if (NULL != tlv)
|
||||
{
|
||||
cmsg->nr_tlvs--;
|
||||
cmsg->size -= tlv->length;
|
||||
cmsg->tlvs[type] = NULL;
|
||||
free(tlv);
|
||||
tlv = NULL;
|
||||
}
|
||||
|
||||
if(tlv == NULL)
|
||||
{
|
||||
tlv = (struct tfe_cmsg_tlv*)ALLOC(char, length);
|
||||
|
||||
Reference in New Issue
Block a user