http://defect.opensolaris.org/bz/show_bug.cgi?id=11103



--- Comment #10 from Michael Hunter <michael.hunter at sun.com> 2009-09-22 
20:44:49 UTC ---
(In reply to comment #9)
> (In reply to comment #8)
> > (In reply to comment #7)
[...]
> In nwamd_dhcp_managing(), icfg_get_addr() returns 0.0.0.0 and when that 
> address
> is checked with find_address(), it doesn't find a match and returns NULL.  
> When
> the flags are checked with icfg_get_flags(), IFF_DHCPRUNNING is set right 
> after
> dhcp is requested and the interface doesn't have an address yet.
> 
> It seems we should check for 0.0.0.0 after icfg_get_addr() and skip checking
> the flags in that case.

That makes sense.  The IFF_DHCP flag just means that DHCP is trying to do
something with the interface, not that it has an address or anything else.  If
you look at v6 the IFF_DHCP flag is set on the link local address because dhcpd
doesn't create an interface until after it has an address.  That might actually
be a piece of brokeness in the how we deal with v6.  We probably see link local
addresses as stateful address.

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Reply via email to