Anurag S. Maskey wrote: > In creating this duplicate address, I found that the RTM_IFINFO > messages do not contain the IFF_DUPLICATE flag. Instead > icfg_set_addr() and icfg_set_flags() (in libinetcfg) perform DAD and > return ICFG_DAD_FOUND if duplicate address is found. > > The return value from icfg_set_addr() and icfg_set_flags() are checked > and the state transition to MAINTENANCE if it is ICFG_DAD_FOUND. Does > this sound reasonable? > Will that work for DHCP - i.e. what if someone else has set a static address and the DHCP server returns a duplicate? In that case, dhcpagent is responsible for setting the address, right? Do we - or should we - use icfg_get_flags when we get an address so we can pick up the ICFG_DAD_FOUND? Thanks!
Alan
