TSG-15381 TFE适配MAAT4的maat_plugin_table_get_ex_data()接口变更
This commit is contained in:
@@ -247,7 +247,7 @@ int tcp_policy_enforce(struct tcp_policy_enforcer *tcp_enforcer, struct tfe_cmsg
|
||||
}
|
||||
|
||||
snprintf(buffer, sizeof(buffer), "%d", profile_id);
|
||||
struct tcp_profile_param *param = (struct tcp_profile_param *)maat_plugin_table_get_ex_data(tcp_enforcer->maat, tcp_enforcer->table_id, buffer);
|
||||
struct tcp_profile_param *param = (struct tcp_profile_param *)maat_plugin_table_get_ex_data(tcp_enforcer->maat, tcp_enforcer->table_id, buffer, strlen(buffer));
|
||||
if (param == NULL)
|
||||
{
|
||||
TFE_LOG_INFO(tcp_enforcer->logger, "Failed to get tcp option parameter of profile %d.", profile_id);
|
||||
|
||||
Reference in New Issue
Block a user