mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:05:44 +00:00
Fix by WaxDragon: don't use before initialize.
svn path=/trunk/; revision=12368
This commit is contained in:
parent
f5e5ae6874
commit
8bd8d19886
1 changed files with 2 additions and 2 deletions
|
@ -466,14 +466,14 @@ RouteTable *getRouteTable(void)
|
||||||
|
|
||||||
DPRINT( "%d routes in instance %d\n", snmpInfo.ipsi_numroutes, i );
|
DPRINT( "%d routes in instance %d\n", snmpInfo.ipsi_numroutes, i );
|
||||||
|
|
||||||
|
tdiGetRoutesForIpEntity( tcpFile, &ent, &route_set, &numRoutes );
|
||||||
|
|
||||||
if( !route_set ) {
|
if( !route_set ) {
|
||||||
closeTcpFile( tcpFile );
|
closeTcpFile( tcpFile );
|
||||||
HeapFree( GetProcessHeap(), 0, out_route_table );
|
HeapFree( GetProcessHeap(), 0, out_route_table );
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
tdiGetRoutesForIpEntity( tcpFile, &ent, &route_set, &numRoutes );
|
|
||||||
|
|
||||||
DPRINT("Route set returned\n");
|
DPRINT("Route set returned\n");
|
||||||
#if 0
|
#if 0
|
||||||
HexDump( route_set,
|
HexDump( route_set,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue