[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] Re: DHCP option "Requested IP"

From: Jakob Stoklund Olesen
Subject: [lwip-devel] Re: DHCP option "Requested IP"
Date: Mon, 21 Sep 2009 17:04:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

Fabian Koch <address@hidden> writes:

> My idea after looking at the code was to make a #define option in opts.h (as 
> always) and then decide in
> dhcp_discover() to take the current IP of the netif and using that as
> the DHCP option code 50 "request IP addr"

How does this compare to using the existing REBOOT procedure?

Are you trying to reuse a DCHP lease after reboot? If so, you should
probably force the netif to a DHCP_BOUND state with the stored lease
parameters, and call dhcp_reboot().


reply via email to

[Prev in Thread] Current Thread [Next in Thread]