OpenSolaris

Printable Version Enter a New Search
Bug ID 6516629
Synopsis fix for CR 6464136 has brought CR 6193247 back to life
State 10-Fix Delivered (Fix available in build)
Category:Subcategory network:dhcp_client
Keywords
Responsible Engineer James D Carlson
Reported Against snv_57
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_58
Fixed In snv_58
Release Fixed solaris_nevada(snv_58) , solaris_10u4(s10u4_04) (Bug ID:2146330)
Related Bugs 6464136 , 6193247
Submit Date 23-January-2007
Last Update Date 16-February-2007
Description
As part of restructuring the code for CR 6464136, I managed to
reintroduce CR 6193247.  The symptom is log messages that look like
this:

Jan 22 14:38:00 miraf /sbin/dhcpagent[1494]: [ID 981413 daemon.warning] configure_v4_lease: incorrect broadcast address 255.255.255.255 specified for eri0; ignoring
Jan 22 14:38:00 miraf /sbin/dhcpagent[1494]: [ID 947604 daemon.warning] checkaddr: expected peer address 24.236.254.255 on eri0, have 255.255.255.255

The problem is that in configure_v4_lease(), we correctly say that
we're going to ignore this bad address, but then we just go ahead and
use it.  That's not right.  Instead, we need to record the kernel's
sanitized version of the address -- that is, sin->sin_addr and not
inaddr.
Work Around
N/A
Comments
N/A