TSG-15381 TFE适配MAAT4的maat_plugin_table_get_ex_data()接口变更
This commit is contained in:
@@ -193,7 +193,7 @@ void chaining_policy_enforce(struct chaining_policy_enforcer *enforcer, struct t
|
||||
}
|
||||
|
||||
snprintf(rule_id_str, sizeof(rule_id_str), "%lu", rule_id);
|
||||
struct chaining_param *param = (struct chaining_param *)maat_plugin_table_get_ex_data(enforcer->maat, enforcer->table_id, rule_id_str);
|
||||
struct chaining_param *param = (struct chaining_param *)maat_plugin_table_get_ex_data(enforcer->maat, enforcer->table_id, rule_id_str, strlen(rule_id_str));
|
||||
if (param == NULL)
|
||||
{
|
||||
TFE_LOG_INFO(enforcer->logger, "Failed to get chaining parameter of policy %lu.", rule_id);
|
||||
|
||||
Reference in New Issue
Block a user