lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] How to determine if DCHP changes the IP address


From: Frédéric BERNON
Subject: Re: [lwip-users] How to determine if DCHP changes the IP address
Date: Mon, 17 Dec 2007 23:53:12 +0100

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 -----
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
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users

reply via email to

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