vincent cui <[email protected]> wrote:
> I am gonna to enable AUTOIP when DHCP detection fail after trying some
> times.

LWIP_DHCP_AUTOIP_COOP does this for you. When LWIP_DHCP_AUTOIP_COOP==1, 
LWIP_DHCP==1 and LWIP_AUTOIP==1, autoIP is started when DHCP does not get an 
address after ~30-40 seconds. DHCP is still continued in the background then 
(with increased retry-delays), so if you plug in a DHCP server later, it will 
switch back to DHCP. Also this sequence is restarted when the link status goes 
back to 'up'.

Simon
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to