OCT 1. 修正一处编译错误

This commit is contained in:
黄昕 2023-05-15 15:51:07 +08:00
parent 958fbab193
commit 1748a66f83
1 changed files with 1 additions and 1 deletions
srcs/service/dhcpd

View File

@ -563,7 +563,7 @@ static void on_sock_recv(uv_work_t *req) {
MAC_TO_STR(reqDhcp.cliMac, macStr);
switch (*optMsg.pValue) {
case DHCP_MSG_DSCIOVER:
case DHCP_MSG_DISCOVER:
// region DHCP Discover 处理
ret = dhcp_get_option(OPT_REQUESTEDIPADDR, pkg->options, optSize, &opt);
if (ret == ERR_SUCCESS && opt.len == sizeof(U32)) {