http://bugs.winehq.org/show_bug.cgi?id=22355
--- Comment #5 from Jonathan Chen daemon.wizard@gmail.com 2010-04-15 03:33:38 --- The patch posted changes functionality, ie:
for (p = indexes, numInterfaces = 0; p && p->if_name; p++) + TRACE("%s %s a loopback interface\n", p->if_name, + isLoopbackInterface(fd, p->if_name) ? "is" : "is not"); if (!isLoopbackInterface(fd, p->if_name)) numInterfaces++; if_freenameindex(indexes);
If all we need is to add the trace shouldn't it be:
for (p = indexes, numInterfaces = 0; p && p->if_name; p++) + { + TRACE("%s %s a loopback interface\n", p->if_name, + isLoopbackInterface(fd, p->if_name) ? "is" : "is not"); if (!isLoopbackInterface(fd, p->if_name)) numInterfaces++; + } if_freenameindex(indexes);
And because some functionality has been changed, it now WORKS!
I've also attached the console.log, which seems to indicate that the TRACE is not invoked.