]> granicus.if.org Git - esp-idf/commit
Check DHCP rebind timer before checking dhcp release timer in cause they have the...
authorLiu Zhi Fu <liuzhifu@espressif.com>
Wed, 1 Mar 2017 06:48:27 +0000 (14:48 +0800)
committerLiu Zhi Fu <liuzhifu@espressif.com>
Wed, 1 Mar 2017 12:50:58 +0000 (20:50 +0800)
commit66199b1efee01e533ee22a2c3aa9d79abb9ad82c
tree9d0cb2fde87de46bd7bd0f980ba69e277702aff7
parentae09a46cb83e02152c3c93cc3f59e1d043b7e9e8
Check DHCP rebind timer before checking dhcp release timer in cause they have the same value.

lwip: modify dhcp timer granularity from 60s to 1s

Current DHCP granularity is 60 seconds, it's not accurate, it can cause DHCP release/rebind/renew timer
timeout at the same time, also it may renew/rebind/release at wrong time, thus cause problem.
components/lwip/core/ipv4/dhcp.c
components/lwip/include/lwip/lwip/dhcp.h
components/lwip/include/lwip/port/lwipopts.h