X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fabf%2Fabf_policy.h;h=7d890abed730d011441030a739d1a64802dbad09;hb=e5d34919b;hp=724611eac38a494a939a91ddab246e4dfb039ecb;hpb=bdc0e6b7204ea0211d4f7881497e4306586fb9ef;p=vpp.git 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