Author: mladen.turk(a)jboss.com
Date: 2007-09-10 08:49:34 -0400 (Mon, 10 Sep 2007)
New Revision: 1015
Modified:
trunk/sight/native/os/windows/netadapter.c
Log:
Mark ant IPV6 as net%d
Modified: trunk/sight/native/os/windows/netadapter.c
===================================================================
--- trunk/sight/native/os/windows/netadapter.c 2007-09-10 12:42:43 UTC (rev 1014)
+++ trunk/sight/native/os/windows/netadapter.c 2007-09-10 12:49:34 UTC (rev 1015)
@@ -370,6 +370,10 @@
sprintf(buf, "tun%d", e->devCounters[6]++);
SET_IFIELD_S(0000, thiz, buf);
}
+ else if (!e->pCurrent->IfIndex) {
+ sprintf(buf, "net%d", e->devCounters[5]++);
+ SET_IFIELD_S(0000, thiz, buf);
+ }
else
SET_IFIELD_S(0000, thiz, e->pCurrent->AdapterName);
}