From: Cameron Gutman Date: Wed, 30 Dec 2009 12:53:47 +0000 (+0000) Subject: - Forgot this file X-Git-Tag: backups/aicom-network-stable@46924^2^2~14 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=175500c30baeb149f9434720fa15b7ad0135e5e2;ds=inline - Forgot this file svn path=/branches/aicom-network-branch/; revision=44811 --- diff --git a/lib/drivers/ip/transport/tcp/event.c b/lib/drivers/ip/transport/tcp/event.c index f3d5a145597..155a16ee078 100644 --- a/lib/drivers/ip/transport/tcp/event.c +++ b/lib/drivers/ip/transport/tcp/event.c @@ -76,8 +76,8 @@ int TCPPacketSend(void *ClientData, OSK_PCHAR data, OSK_UINT len ) { return OSK_EINVAL; } - if(!(NCE = RouteGetRouteToDestination( &RemoteAddress ))) { - TI_DbgPrint(MIN_TRACE,("No route to %s\n", A2S(&RemoteAddress))); + if(!(NCE = NBLocateNeighbor( &LocalAddress ))) { + TI_DbgPrint(MIN_TRACE,("Interface doesn't exist! %s\n", A2S(&LocalAddress))); return OSK_EADDRNOTAVAIL; }