http://defect.opensolaris.org/bz/show_bug.cgi?id=9664
amaguire <alan.maguire at sun.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alan.maguire at sun.com
AssignedTo|nwam-dev at opensolaris.org |alan.maguire at sun.com
Status|NEW |CAUSEKNOWN
--- Comment #1 from amaguire <alan.maguire at sun.com> 2009-06-25 05:39:05 ---
There's a couple of nwamd problems illustrated by this bug:
1) we always use icfg_add_ipaddr() to add new static addresses. We should check
if we can use icfg_set_addr() which operates on the interface rather than
creating a logical interface. We can use it if
- no other static interfaces have been configured yet
- we're not using DHCP (v4) or autoconf (v6)
I've added these fixes, so if a single static address is set in the IP ncu,
it'll be assigned on e1000g0 rather than e1000g0:1 etc.
2) we should ignore the return value from icfg_set_flags(), otherwise we
misclassify the config state and never go online for static-only config.
3) we explicitly set the prefixlen, but not the broadcast address. I had
thought the latter was derived from the former, and haven't seen incorrect
broadcast addresses at my end, but I'll add an explicit setting of broadcast
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.
You are the assignee for the bug.