aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vpp-api/vom/inspect.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vpp-api/vom/inspect.cpp b/src/vpp-api/vom/inspect.cpp
index c78128c2bb6..55b533bbbff 100644
--- a/src/vpp-api/vom/inspect.cpp
+++ b/src/vpp-api/vom/inspect.cpp
@@ -54,10 +54,9 @@ inspect::handle_input(const std::string& message, std::ostream& output)
}
} else if (message.find("keys") != std::string::npos) {
OM::dump(output);
- } else if (message.find("key") != std::string::npos) {
+ } else if (message.find("key:") != std::string::npos) {
std::vector<std::string> results;
boost::split(results, message, boost::is_any_of(":\n"));
-
OM::dump(results[1], output);
} else if (message.find("all") != std::string::npos) {
/*