Subject: CVS commit: src/sys/net
To: None <source-changes@NetBSD.org>
From: Greg Troxel <gdt@netbsd.org>
List: source-changes
Date: 09/13/2007 18:54:58
Module Name: src
Committed By: gdt
Date: Thu Sep 13 18:54:57 UTC 2007
Modified Files:
src/sys/net: if.c if.h
Log Message:
Add a define for the ifru_space union member.
Copy the entire sockaddr to the buffer to be written to user space,
according to its length, not just the part that fits in struct
sockaddr.
This fixes the 'bad MAC address' problem in dhclient.
To generate a diff of this commit:
cvs rdiff -r1.200 -r1.201 src/sys/net/if.c
cvs rdiff -r1.126 -r1.127 src/sys/net/if.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.