On Fri, 2009-12-04 at 21:03 +1100, Darren Reed wrote:
> Yevgeniy Litvinenko wrote:
> > In OpenSolaris include files I found SIOCGIFHWADDR:
> > /usr/include/sys/sockio.h:#define   SIOCGIFHWADDR   _IOWR('i', 185, int)    
> > /* PF_PACKET */
> >
> > Is this call (ioctl(SIOCGIFHWADDR)) valid? Or is this a bug?
> >   
> 
> At present, SIOCGIFHWADDR is only supported on PF_PACKET sockets, not 
> PF_INET sockets.

That should probably be fixed.  Since the introduction of SIOCGIFHWADDR
in build 128, all of those #ifdefs protecting its use on PF_INET sockets
in 3rd party software are now being compiled in and failing on Solaris.
This is the 2nd instance I've seen of this.

-Seb


_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to