Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vom: Fix the error handling for already existing itf
[vpp.git]
/
src
/
vpp-api
/
vom
/
types.cpp
diff --git
a/src/vpp-api/vom/types.cpp
b/src/vpp-api/vom/types.cpp
index
82f0aec
..
44e0dd0
100644
(file)
--- a/
src/vpp-api/vom/types.cpp
+++ b/
src/vpp-api/vom/types.cpp
@@
-39,7
+39,11
@@
rc_t::from_vpp_retval(int32_t rv)
return (rc_t::OK);
}
if (-68 == rv) {
- // interface laready exists
+ // sub interface already exists
+ return (rc_t::OK);
+ }
+ if (-79 == rv) {
+ // interface already exists
return (rc_t::OK);
}