diff options
author | Parixit Gokhale <pgokhale@cisco.com> | 2019-04-11 14:00:52 -0700 |
---|---|---|
committer | Parixit Gokhale <pgokhale@cisco.com> | 2019-04-11 15:32:53 -0700 |
commit | bf386593a064d99784afae449ca6fb45ad4cfbc9 (patch) | |
tree | 9cb5b1f07ae2a3ed541ffe5f28d14db83fa4ccd1 /src/plugins/abf/abf_policy.h | |
parent | 49e7ef60cb38d9f539d70d7a1e85cea5d350a203 (diff) |
Adding check to ensure acl_id matches existing acl_id in abf_policy_update
Change-Id: Ia86387ca5a52d6b4b9e5aff0c01c92df13a5dde5
Signed-off-by: Parixit Gokhale <pgokhale@cisco.com>
Diffstat (limited to 'src/plugins/abf/abf_policy.h')
-rw-r--r-- | src/plugins/abf/abf_policy.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/abf/abf_policy.h b/src/plugins/abf/abf_policy.h index 724611eac38..7d890abed73 100644 --- a/src/plugins/abf/abf_policy.h +++ b/src/plugins/abf/abf_policy.h @@ -82,10 +82,10 @@ extern fib_node_type_t abf_policy_fib_node_type; * @param policy_id User defined Policy ID * @param acl_index The ACL the policy with match on * @param rpaths The set of paths to add to the forwarding set + * @return error code */ -extern void abf_policy_update (u32 policy_id, - u32 acl_index, - const fib_route_path_t * rpaths); +extern int abf_policy_update (u32 policy_id, + u32 acl_index, const fib_route_path_t * rpaths); /** * Delete paths from an ABF Policy. If no more paths exist, the policy |