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:
23d4e8a
)
vom: Fix the error handling for already existing itf
44/11444/1
author
Mohsin Kazmi
<sykazmi@cisco.com>
Wed, 28 Mar 2018 15:25:23 +0000
(17:25 +0200)
committer
Mohsin Kazmi
<sykazmi@cisco.com>
Wed, 28 Mar 2018 15:25:23 +0000
(17:25 +0200)
Change-Id: I5695d51dd4f6daff472877fe1cce3ddcb924b187
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
src/vpp-api/vom/types.cpp
patch
|
blob
|
history
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);
}