mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-09-28 23:00:50 +00:00
Added brackets, completed CHANGELOG
This commit is contained in:
parent
3db149b42e
commit
6d8dee6d68
@ -66,6 +66,9 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2012-09-26: patch by Henrik Persson
|
||||||
|
* dhcp.c: patch #7843 Fix corner case with dhcp timeouts
|
||||||
|
|
||||||
2012-09-26: patch by Henrik Persson
|
2012-09-26: patch by Henrik Persson
|
||||||
* dhcp.c: patch #7840 Segfault in dhcp_parse_reply if no end marker in dhcp packet
|
* dhcp.c: patch #7840 Segfault in dhcp_parse_reply if no end marker in dhcp packet
|
||||||
|
|
||||||
|
@ -963,7 +963,7 @@ dhcp_bind(struct netif *netif)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* If we have sub 1 minute lease, t2 and t1 will kick in at the same time. */
|
/* If we have sub 1 minute lease, t2 and t1 will kick in at the same time. */
|
||||||
if (dhcp->t1_timeout >= dhcp->t2_timeout && dhcp->t2_timeout > 0) {
|
if ((dhcp->t1_timeout >= dhcp->t2_timeout) && (dhcp->t2_timeout > 0)) {
|
||||||
dhcp->t1_timeout = 0;
|
dhcp->t1_timeout = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user