diff options
Diffstat (limited to 'libdhcp/include')
-rw-r--r-- | libdhcp/include/libdhcp/dhcp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libdhcp/include/libdhcp/dhcp.h b/libdhcp/include/libdhcp/dhcp.h index 6970748..4cdd2e2 100644 --- a/libdhcp/include/libdhcp/dhcp.h +++ b/libdhcp/include/libdhcp/dhcp.h @@ -112,12 +112,12 @@ typedef void (*dhcp_callback_t)(enum dhcp_event, struct dhcp_lease); * @brief return value of @ref DHCP_run() */ enum { - DHCP_FAILED = 0, ///< Processing Fail - DHCP_RUNNING, ///< Processing DHCP protocol - DHCP_IP_ASSIGN, ///< First Occupy IP from DHPC server (if cbfunc == null, act as default default_ip_assign) - DHCP_IP_CHANGED, ///< Change IP address by new ip from DHCP (if cbfunc == null, act as default default_ip_update) - DHCP_IP_LEASED, ///< Stand by - DHCP_STOPPED ///< Stop processing DHCP protocol + DHCP_RET_FAILED = 0, ///< Processing Fail + DHCP_RET_RUNNING, ///< Processing DHCP protocol + DHCP_RET_IP_ASSIGN, ///< First Occupy IP from DHPC server (if cbfunc == null, act as default default_ip_assign) + DHCP_RET_IP_CHANGED, ///< Change IP address by new ip from DHCP (if cbfunc == null, act as default default_ip_update) + DHCP_RET_IP_LEASED, ///< Stand by + DHCP_RET_STOPPED ///< Stop processing DHCP protocol }; /* |