VOM: NAT coverity found bugs
[vpp.git] / src / vpp-api / vom / nat_binding.cpp
index a2e71b3..a3f7111 100644 (file)
@@ -119,7 +119,7 @@ nat_binding::update(const nat_binding& desired)
       HW::enqueue(new nat_binding_cmds::bind_44_input_cmd(
         m_binding, m_itf->handle(), m_zone));
     } else {
-      HW::enqueue(new nat_binding_cmds::bind_44_input_cmd(
+      HW::enqueue(new nat_binding_cmds::bind_44_output_cmd(
         m_binding, m_itf->handle(), m_zone));
     }
   }