OCT 1. 修正一处编译错误
This commit is contained in:
parent
958fbab193
commit
1748a66f83
|
@ -563,7 +563,7 @@ static void on_sock_recv(uv_work_t *req) {
|
||||||
MAC_TO_STR(reqDhcp.cliMac, macStr);
|
MAC_TO_STR(reqDhcp.cliMac, macStr);
|
||||||
|
|
||||||
switch (*optMsg.pValue) {
|
switch (*optMsg.pValue) {
|
||||||
case DHCP_MSG_DSCIOVER:
|
case DHCP_MSG_DISCOVER:
|
||||||
// region DHCP Discover 处理
|
// region DHCP Discover 处理
|
||||||
ret = dhcp_get_option(OPT_REQUESTEDIPADDR, pkg->options, optSize, &opt);
|
ret = dhcp_get_option(OPT_REQUESTEDIPADDR, pkg->options, optSize, &opt);
|
||||||
if (ret == ERR_SUCCESS && opt.len == sizeof(U32)) {
|
if (ret == ERR_SUCCESS && opt.len == sizeof(U32)) {
|
||||||
|
|
Loading…
Reference in New Issue