diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vpp-api/vom/interface_types.cpp | 3 |
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; |