X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Ftap_interface_cmds.cpp;h=4ebd2be4cf07647f893b4e6a96ad3d55d59b1b6d;hb=208c29aac523231af2420a95ba7e5d361698780b;hp=763ded56bdc104aedd6ae9bc9cef2294651250b7;hpb=4faab21a75a208d83c184bd424938c4dbf6b38e4;p=vpp.git diff --git a/extras/vom/vom/tap_interface_cmds.cpp b/extras/vom/vom/tap_interface_cmds.cpp index 763ded56bdc..4ebd2be4cf0 100644 --- a/extras/vom/vom/tap_interface_cmds.cpp +++ b/extras/vom/vom/tap_interface_cmds.cpp @@ -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