aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/dhcp_config_cmds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/vom/dhcp_config_cmds.cpp')
-rw-r--r--src/vpp-api/vom/dhcp_config_cmds.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vpp-api/vom/dhcp_config_cmds.cpp b/src/vpp-api/vom/dhcp_config_cmds.cpp
index 144df986d37..ff24fe2f463 100644
--- a/src/vpp-api/vom/dhcp_config_cmds.cpp
+++ b/src/vpp-api/vom/dhcp_config_cmds.cpp
@@ -138,14 +138,14 @@ rc_t
events_cmd::issue(connection& con)
{
/*
- * Set the call back to handle DHCP complete envets.
- */
+ * Set the call back to handle DHCP complete envets.
+ */
m_reg.reset(new reg_t(con.ctx(), std::ref(*this)));
/*
- * return in-progress so the command stays in the pending list.
- */
- return (rc_t::INPROGRESS);
+ * return in-progress so the command stays in the pending list.
+ */
+ return (rc_t::OK);
}
void