Hi,
I think you can use the LWIP_NETIF_STATUS_CALLBACK option. Like this, each time
netif_set_up or netif_set_down are called, you can be inform, because
dhcp_bind call netif_set_up, and dhcp_release call netif_set_down. Of course,
this is in last CVS HEAD code. I'm not sure it's integrated in 1.2.0...
----- Original Message -----
From: Bill Auerbach
To: [email protected]
Sent: Monday, December 17, 2007 11:44 PM
Subject: [lwip-users] How to determine if DCHP changes the IP address
Hello,
Can someone recommend a good way to get the IP address assigned by the first
DCHP acquire? And on an IP address expiration, if the IP address changes - how
can one determine that this has occurred? If there is not a user function
callback to indicate when a setting changes by DHCP, can I recommend this as a
future enhancement?
Thanks,
Bill Auerbach
------------------------------------------------------------------------------
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users