HW address w/o connection in iphlpapi
Juan Lang
juan_lang at yahoo.com
Thu Jan 19 10:56:27 CST 2006
> Wait. This works better than getifaddrs. It successfully returns info
> for "down" devices on my RH8 based linux box, with my creaky old
> wine-20050419.
(snip)
> You made comments in the source about if_indextoname having issues. So
> perhaps this patch won't be useful to you. But it works for us, so I'll
> apply it to our wine sources unless/until something better comes along.
Cool, thanks for that. Like I mention in the comments, if_nameindex has
the disadvantage that it doesn't handle virtual interfaces. I'll try to
hack this up to use a combination of if_nameindex and SIOCGIFCONF if I
can, but feel free to beat me to it ;)
--Juan
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the wine-devel
mailing list