reactos/lib/iphlpapi
diff -u -r1.7 -r1.8
--- ipstats_reactos.c 26 Nov 2004 00:32:59 -0000 1.7
+++ ipstats_reactos.c 27 Dec 2004 16:50:56 -0000 1.8
@@ -466,14 +466,14 @@
DPRINT( "%d routes in instance %d\n", snmpInfo.ipsi_numroutes, i );
+ tdiGetRoutesForIpEntity( tcpFile, &ent, &route_set, &numRoutes );
+
if( !route_set ) {
closeTcpFile( tcpFile );
HeapFree( GetProcessHeap(), 0, out_route_table );
return 0;
}
- tdiGetRoutesForIpEntity( tcpFile, &ent, &route_set, &numRoutes );
-
DPRINT("Route set returned\n");
#if 0
HexDump( route_set,