VOM: support for pipes
[vpp.git] / extras / vom / vom / tap_interface_cmds.cpp
index 763ded5..4ebd2be 100644 (file)
@@ -61,12 +61,12 @@ tap_create_cmd::issue(connection& con)
 
   VAPI_CALL(req.execute());
 
-  m_hw_item = wait();
+  wait();
   if (m_hw_item.rc() == rc_t::OK) {
     insert_interface();
   }
 
-  return rc_t::OK;
+  return (m_hw_item.rc());
 }
 
 std::string