mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/dhcp_server_max_limit' into 'master'
dhcp/dhcpserver Fix max station limit check in dhcp server See merge request idf/esp-idf!2298
This commit is contained in:
commit
41228c83c7
@ -1247,7 +1247,7 @@ void dhcps_coarse_tmr(void)
|
||||
}
|
||||
}
|
||||
|
||||
if (num_dhcps_pool >= MAX_STATION_NUM) {
|
||||
if (num_dhcps_pool > MAX_STATION_NUM) {
|
||||
kill_oldest_dhcps_pool();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user