aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vpp-api/vom/types.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vpp-api/vom/types.cpp b/src/vpp-api/vom/types.cpp
index 82f0aec20b2..44e0dd08f98 100644
--- 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);
}