Subject: Re: dhcpd
To: Nicolas Joly <firstname.lastname@example.org>
From: Greg Troxel <email@example.com>
Date: 09/13/2007 14:55:44
I have commited a fix to SIOCGIFCONF in the kernel to copy the entire
MAC address, after Nicolas confirms that it fixes the problem.
From: Greg Troxel <firstname.lastname@example.org>
Subject: CVS commit: src/sys/net
Date: Thu, 13 Sep 2007 18:54:58 +0000 (UTC)
Module Name: src
Committed By: gdt
Date: Thu Sep 13 18:54:57 UTC 2007
src/sys/net: if.c if.h
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
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.