[OpenIndiana-discuss] e2fsprogs header file bug
James Carlson
carlsonj at workingcode.com
Thu Nov 3 13:22:55 UTC 2011
Andrey N. Oktyabrski wrote:
> More about e2fsprogs. Now from the pkgsrc. There is a same bug as here:
> http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=45499
>
> Is it correct to expect ifr_hwaddr member in ifreq structure if
> SIOCGIFHWADDR defined?
It might be correct on some platforms. It wouldn't be correct on
OpenIndiana, because it doesn't exist on that one. In other words, the
application needs to be ported.
I believe that ioctl only works on PF_PACKET sockets, and requires the
use of sockaddr_ll. See:
http://arc.opensolaris.org/caselog/PSARC/2009/232/pfp-psarc.txt
--
James Carlson 42.703N 71.076W <carlsonj at workingcode.com>
More information about the OpenIndiana-discuss
mailing list