lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #30038] dhcp_network_changed doesn't reset AUTOIP coop


From: Bill Auerbach
Subject: [lwip-devel] [bug #30038] dhcp_network_changed doesn't reset AUTOIP coop state
Date: Wed, 06 Oct 2010 17:31:38 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)

Follow-up Comment #12, bug #30038 (project lwip):

> BTW: I almost released a product with that, too :-)

Well, I did release it - to a trade show where this would not have been
detected.  I'm not sure why I didn't see this still and I'm bothered by it.  I
did a lot of testing of cable changes, DHCP to static to AutoIp changes all
around and didn't see it.

Since you're in dhcp_network_changed - if you want to be really complete with
it, the following should be added:

if(!dhcp) {
  dhcp_inform(netif);
  return;
}

If there is no DHCP server running (dhcp_start wasn't used - e.g. application
using static IP) then a network change will inform the network of the static
IP address.  If you do this, one benefit is Windows will detect duplicate IPs
and "balloon" a warning.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?30038>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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