summaryrefslogtreecommitdiffstats
path: root/src/plugins/abf/abf_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/abf/abf_api.c')
-rw-r--r--src/plugins/abf/abf_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/abf/abf_api.c b/src/plugins/abf/abf_api.c
index 9da08394fe6..a951fe6475a 100644
--- a/src/plugins/abf/abf_api.c
+++ b/src/plugins/abf/abf_api.c
@@ -111,12 +111,12 @@ vl_api_abf_policy_add_del_t_handler (vl_api_abf_policy_add_del_t * mp)
if (mp->is_add)
{
- abf_policy_update (ntohl (mp->policy.policy_id),
- ntohl (mp->policy.acl_index), paths);
+ rv = abf_policy_update (ntohl (mp->policy.policy_id),
+ ntohl (mp->policy.acl_index), paths);
}
else
{
- abf_policy_delete (ntohl (mp->policy.policy_id), paths);
+ rv = abf_policy_delete (ntohl (mp->policy.policy_id), paths);
}
done:
vec_free (paths);