diff --git a/upf/upf_app_db.c b/upf/upf_app_db.c index 98568b0..9663e60 100644 --- a/upf/upf_app_db.c +++ b/upf/upf_app_db.c @@ -223,6 +223,9 @@ upf_adf_get_adr_db (u32 application_id, acl_rule_t ** acl) upf_main_t *sm = &upf_main; upf_adf_app_t *app; + if (acl) + *acl = 0; + if (application_id == ~0) return ~0;