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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue