Commit in reactos/lib/iphlpapi on MAIN
ifenum_reactos.c+3-21.7 -> 1.8
Switched the sense of the onlyLoopback flag in getNumNonLoopbackAdapters
and kin.  I had the sense of needing only loopback adapters or all adapters
inverted.

Our info ioctl still misidentifies the adapters with respect to loopback
and not.

reactos/lib/iphlpapi
ifenum_reactos.c 1.7 -> 1.8
diff -u -r1.7 -r1.8
--- ifenum_reactos.c	5 Mar 2004 04:50:01 -0000	1.7
+++ ifenum_reactos.c	21 Jun 2004 02:21:16 -0000	1.8
@@ -393,7 +393,7 @@
     return STATUS_SUCCESS;
 }
 
-static DWORD getNumInterfacesInt(BOOL onlyLoopback)
+static DWORD getNumInterfacesInt(BOOL onlyNonLoopback)
 {
     DWORD numEntities, numInterfaces = 0;
     TDIEntityID *entitySet;
@@ -419,7 +419,8 @@
 
     for( i = 0; i < numEntities; i++ ) {
         if( isInterface( &entitySet[i] ) &&
-            (!onlyLoopback || isLoopback( tcpFile, &entitySet[i] )) )
+            (!onlyNonLoopback || 
+	     (onlyNonLoopback && !isLoopback( tcpFile, &entitySet[i] ))) )
             numInterfaces++;
     }
 
CVSspam 0.2.8