A bit of buffer metadata reshuffling to accommodate flow_id
[vpp.git] / src / vpp-api / vom / inspect.cpp
index c78128c..605a921 100644 (file)
@@ -54,15 +54,14 @@ 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) {
       /*
- * get the unique set of handlers, then invoke each
- */
      * get the unique set of handlers, then invoke each
      */
       std::set<command_handler*> hdlrs;
       for (auto h : *m_cmd_handlers) {
         hdlrs.insert(h.second);