VOM: support for pipes
[vpp.git] / extras / vom / vom / vxlan_tunnel_cmds.cpp
index ca4ccf3..dcc06e7 100644 (file)
@@ -51,9 +51,9 @@ create_cmd::issue(connection& con)
 
   VAPI_CALL(req.execute());
 
-  m_hw_item = wait();
+  wait();
 
-  if (m_hw_item) {
+  if (rc_t::OK == m_hw_item.rc()) {
     insert_interface();
   }