[En-Nut-Discussion] DHCP

Harald Kipp harald.kipp at egnite.de
Fri May 10 09:50:19 CEST 2013


Hi Henrik,

On 09.05.2013 01:57, Henrik Maier wrote:
> if (dhcpState != DHCPST_IDLE && dhcpApiTimeout != NUT_WAIT_INFINITE) {
> 
> to
> 
> if (dhcpState != DHCPST_IDLE && dhcpState != DHCPST_BOUND &&
> dhcpApiTimeout != NUT_WAIT_INFINITE) {
> 
> As otherwise DHCP would report a failure code in bound state and go back
> to idle even though everything was perfectly bound. I think I never
> reported this issue.

Only in the very rare case, where the acknowledge arrives on the last
second. But anyway, your patch corrects this and has been applied to the
trunk in r5131.

Thanks,

Harald




More information about the En-Nut-Discussion mailing list