]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commit
Fix corner case with dhcp timeouts
authorHenrik Persson <henrik.persson@securitas-direct.com>
Wed, 5 Sep 2012 12:16:45 +0000 (14:16 +0200)
committergoldsimon <goldsimon@gmx.de>
Wed, 26 Sep 2012 19:25:04 +0000 (21:25 +0200)
commitb4ac36337f5ec8313adeb840aacd4e5f49d9a5fb
treed97109bb1935da7bab0ce1ad6e52416a4f05d776
parent7072bc3203607d9eb68d9baa8e7893ea6e6557f1
Fix corner case with dhcp timeouts

If t1 >= t2 timeout then only t2 timer should be scheduled. This can happen
when a sub 1 minute lease is received.
src/core/dhcp.c