mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/dhcps_remove_record_when_request_nak' into 'master'
lw-IP: Fix DHCP Server to remove clients record if request not acked Closes IDFGH-4594 See merge request espressif/esp-idf!12120
This commit is contained in:
commit
90a2a150dd
@ -916,7 +916,7 @@ POOL_CHECK:
|
||||
|
||||
s16_t ret = parse_options(&m->options[4], len);;
|
||||
|
||||
if (ret == DHCPS_STATE_RELEASE) {
|
||||
if (ret == DHCPS_STATE_RELEASE || ret == DHCPS_STATE_NAK) {
|
||||
if (pnode != NULL) {
|
||||
node_remove_from_list(&plist, pnode);
|
||||
free(pnode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user