From e0e18ffc097dbcfff797afed2b15f3697ab0c06b Mon Sep 17 00:00:00 2001 From: Art Yerkes Date: Fri, 26 Nov 2004 21:17:22 +0000 Subject: [PATCH] Correct silly bugcheck when a packet will not be routed. Not exposed before because of false positives on loopback adapter. We need to expect NCE to be NULL. svn path=/trunk/; revision=11825 --- reactos/drivers/lib/ip/transport/tcp/if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/drivers/lib/ip/transport/tcp/if.c b/reactos/drivers/lib/ip/transport/tcp/if.c index ed07278d0f1..e85e9c4c5e9 100644 --- a/reactos/drivers/lib/ip/transport/tcp/if.c +++ b/reactos/drivers/lib/ip/transport/tcp/if.c @@ -90,7 +90,7 @@ POSK_IFADDR TCPFindInterface( void *ClientData, if( !NCE || !NCE->Interface ) { TI_DbgPrint(MID_TRACE,("no neighbor cache or no interface (%x %x)\n", - NCE, NCE->Interface)); + NCE, NCE ? NCE->Interface : 0)); return NULL; }