summaryrefslogtreecommitdiff
path: root/common/src/intercept_policy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/intercept_policy.cpp')
-rw-r--r--common/src/intercept_policy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/intercept_policy.cpp b/common/src/intercept_policy.cpp
index 47c9607..d8f57cb 100644
--- a/common/src/intercept_policy.cpp
+++ b/common/src/intercept_policy.cpp
@@ -217,7 +217,7 @@ struct intercept_policy_enforcer *intercept_policy_enforcer_create(void *logger)
{
int ret = 0;
struct intercept_policy_enforcer *enforcer = ALLOC(struct intercept_policy_enforcer, 1);
- enforcer->maat = (struct maat *)tfe_bussiness_resouce_get(STATIC_MAAT);
+ enforcer->maat = tfe_get_maat_handle();
enforcer->logger = logger;
enforcer->table_id = maat_get_table_id(enforcer->maat, "PXY_INTERCEPT_COMPILE");