X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Fvxlan_tunnel_cmds.cpp;h=dcc06e7179758b1c15f1fab93cfdf8bd35065a02;hb=208c29aac523231af2420a95ba7e5d361698780b;hp=ca4ccf3c38a6683c7c2605533b2b9f2e13d50026;hpb=4faab21a75a208d83c184bd424938c4dbf6b38e4;p=vpp.git diff --git a/extras/vom/vom/vxlan_tunnel_cmds.cpp b/extras/vom/vom/vxlan_tunnel_cmds.cpp index ca4ccf3c38a..dcc06e71797 100644 --- a/extras/vom/vom/vxlan_tunnel_cmds.cpp +++ b/extras/vom/vom/vxlan_tunnel_cmds.cpp @@ -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(); }