* 修改策略编译配置表关于协议字段处理

This commit is contained in:
fengweihao
2019-11-25 11:34:14 +08:00
parent 937bc53f96
commit 5ea8bec8ad
2 changed files with 3 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ void intercept_param_new_cb(int table_id, const char* key, const char* table_lin
TFE_LOG_ERROR(enforcer->logger, "Invalid intercept parameter: %s invalid protocol format", key);
goto error_out;
}
if (0!=strcasecmp(item->valuestring, "SSL/HTTP"))
if(0!=strcasecmp(item->valuestring, "SSL")&& 0!=strcasecmp(item->valuestring, "HTTP"))
{
goto error_out;
}