Hi, Any news on this? This touches only files in sysdeps/mach/hurd, and we're happy to have this in 00list.hurd-i386.
thanks, Michael On Sun, Feb 13, 2005 at 09:19:18PM +0100, Michael Banck wrote: > The following patch by Marco Gerards is the glibc part of SIOCGIFHWADDR > support for pfinet on the Hurd. This is needed e.g. for dhclient to > properly transmit the MAC-address to the server, so IP addresses can get > handed out based on the hardware address. Otherwise, DHCP would be > quite limited. > > The patch was submitted in > http://lists.gnu.org/archive/html/bug-hurd/2004-08/msg00014.html > and mostly acked by Marcus Brinkmann in > http://lists.gnu.org/archive/html/bug-hurd/2005-02/msg00106.html > requesting minor changes which are not applicable to the glibc part of > the patch. > > Please apply. > > > thanks, > > Michael > 2004-08-03 Marco Gerards <[EMAIL PROTECTED]> > > * sysdeps/mach/hurd/bits/ioctls.h (SIOCGIFHWADDR): New macro. > > Index: sysdeps/mach/hurd/bits/ioctls.h > =================================================================== > RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/bits/ioctls.h,v > retrieving revision 1.7 > diff -u -p -u -p -r1.7 ioctls.h > --- sysdeps/mach/hurd/bits/ioctls.h 6 Jul 2001 04:55:58 -0000 1.7 > +++ sysdeps/mach/hurd/bits/ioctls.h 3 Aug 2004 13:55:34 -0000 > @@ -226,6 +226,7 @@ enum __ioctl_datum { IOC_8, IOC_16, IOC_ > #define SIOCSIFADDR _IOW('i', 12, struct ifreq) /* set ifnet > address */ > #define OSIOCGIFADDR _IOWR('i',13, struct ifreq) /* get ifnet > address */ > #define SIOCGIFADDR _IOWR('i',33, struct ifreq) /* get ifnet > address */ > +#define SIOCGIFHWADDR _IOWR('i',39, struct ifreq) /* get > hwaddress */ > #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) /* set p-p > address */ > #define OSIOCGIFDSTADDR _IOWR('i',15, struct ifreq) /* get p-p > address */ > #define SIOCGIFDSTADDR _IOWR('i',34, struct ifreq) /* get p-p > address */ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]