Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1be5206
)
Fix API return code in case of error.
83/17883/2
author
Igor Mikhailov (imichail)
<imichail@cisco.com>
Tue, 26 Feb 2019 19:53:18 +0000
(11:53 -0800)
committer
Neale Ranns
<nranns@cisco.com>
Fri, 1 Mar 2019 09:22:59 +0000
(09:22 +0000)
Change-Id: I22f866bacbc9c6e3abb0405f5c5a205910cec17b
Signed-off-by: Igor Mikhailov (imichail) <imichail@cisco.com>
src/plugins/abf/abf_itf_attach.c
patch
|
blob
|
history
diff --git
a/src/plugins/abf/abf_itf_attach.c
b/src/plugins/abf/abf_itf_attach.c
index
166ccec
..
151fb98
100644
(file)
--- 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