Patch to AddressInfo

Eddie Kohler kohler at icir.org
Mon Mar 11 19:46:33 EST 2002


Hey Jose,

> Below is a small patch to allow AddressInfo figure out the
> ethernet address of an interface. This allows AddressInfo
> to behave the same way as in kernel mode.

Thanks very much for this patch! It had a little bug -- the Ethernet
address is contained in ifreq.ifr_hwaddr.sa_data, not ifreq.ifr_hwaddr --
but we've included a fixed version into Click.

Eddie



More information about the click mailing list