* 修改策略编译配置表关于协议字段处理
This commit is contained in:
@@ -89,7 +89,7 @@ void policy_table_ex_data_new_cb(int table_id, const char * key, const char * ta
|
||||
TFE_LOG_ERROR(instance->logger, "invalid JSON, protocol not existed or invalid type.");
|
||||
goto ignore;
|
||||
}
|
||||
if (0!=strcasecmp(json_item->valuestring, "SSL/HTTP"))
|
||||
if(0!=strcasecmp(json_item->valuestring, "SSL")&& 0!=strcasecmp(json_item->valuestring, "HTTP"))
|
||||
{
|
||||
goto out;
|
||||
}
|
||||
@@ -527,7 +527,7 @@ int traffic_mirror_init(struct tfe_proxy * proxy)
|
||||
|
||||
if(unlikely(result < 0))
|
||||
{
|
||||
TFE_LOG_ERROR(instance->logger, "failed at Maat_plugin_EX_register(PXY_INTERCEPT_COMPILE), "
|
||||
TFE_LOG_ERROR(instance->logger, "failed at Maat_plugin_EX_register(TSG_SECURITY_COMPILE), "
|
||||
"table_id = %d, ret = %d", instance->policy_table_id, result);
|
||||
goto errout;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user