summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/vom')
-rw-r--r--src/vpp-api/vom/interface_types.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vpp-api/vom/interface_types.cpp b/src/vpp-api/vom/interface_types.cpp
index 1272302d383..911282d51b1 100644
--- a/src/vpp-api/vom/interface_types.cpp
+++ b/src/vpp-api/vom/interface_types.cpp
@@ -42,7 +42,8 @@ interface::type_t
interface::type_t::from_string(const std::string& str)
{
if ((str.find("Virtual") != std::string::npos) ||
- (str.find("vhost") != std::string::npos)) {
+ (str.find("vhost") != std::string::npos) ||
+ (str.find("vhu") != std::string::npos)) {
return interface::type_t::VHOST;
} else if (str.find("Bond") != std::string::npos) {
return interface::type_t::BOND;