调整日志输出
This commit is contained in:
@@ -1177,7 +1177,7 @@ static void set_passthrough_reason(struct tfe_cmsg *cmsg, char *reason)
|
||||
{
|
||||
uint8_t ssl_intercept_status = SSL_ACTION_PASSTHROUGH;
|
||||
|
||||
tfe_cmsg_set(cmsg, TFE_CMSG_SSL_PASSTHROUGH_REASON, (const unsigned char *)&reason, strlen(reason));
|
||||
tfe_cmsg_set(cmsg, TFE_CMSG_SSL_PASSTHROUGH_REASON, (const unsigned char *)reason, strlen(reason));
|
||||
tfe_cmsg_set(cmsg, TFE_CMSG_SSL_INTERCEPT_STATE, (const unsigned char *)&ssl_intercept_status, (uint16_t)sizeof(ssl_intercept_status));
|
||||
tfe_cmsg_set_flag(cmsg, TFE_CMSG_FLAG_USER0);
|
||||
}
|
||||
@@ -1816,7 +1816,7 @@ struct packet_io *packet_io_create(const char *profile, int thread_num, cpu_set_
|
||||
{
|
||||
if (handle->config.bpf_hash_mode != 2 && handle->config.bpf_hash_mode != 4)
|
||||
{
|
||||
TFE_LOG_ERROR(logger, "%s: under mutilthread mode, bpf_hash_mode[%d] invalid.", LOG_TAG_PKTIO, handle->config.bpf_hash_mode);
|
||||
TFE_LOG_ERROR(logger, "%s: bpf_hash_mode[%d] invalid.", LOG_TAG_PKTIO, handle->config.bpf_hash_mode);
|
||||
goto error_out;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user