X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fabf%2Fabf_itf_attach.c;h=151fb988edfe25f8b621d4841835d5e3a10556b3;hb=1d1985de91833a5483a6b7ee96ef4090d530a7a6;hp=166ccec31aa26de1a4b4de0c3799b215ed62d04b;hpb=8f68b3e63d682cf23ae836c50d3d7abf3c950514;p=vpp.git diff --git a/src/plugins/abf/abf_itf_attach.c b/src/plugins/abf/abf_itf_attach.c index 166ccec31aa..151fb988edf 100644 --- a/src/plugins/abf/abf_itf_attach.c +++ b/src/plugins/abf/abf_itf_attach.c @@ -258,7 +258,7 @@ abf_itf_detach (fib_protocol_t fproto, u32 policy_id, u32 sw_if_index) aia = abf_itf_attach_db_find (policy_id, sw_if_index); if (NULL == aia) - return (VNET_API_ERROR_ENTRY_ALREADY_EXISTS); + return (VNET_API_ERROR_NO_SUCH_ENTRY); /* * first remove from the interface's vector