- Forgot this file
authorCameron Gutman <aicommander@gmail.com>
Wed, 30 Dec 2009 12:53:47 +0000 (12:53 +0000)
committerCameron Gutman <aicommander@gmail.com>
Wed, 30 Dec 2009 12:53:47 +0000 (12:53 +0000)
svn path=/branches/aicom-network-branch/; revision=44811

lib/drivers/ip/transport/tcp/event.c

index f3d5a14..155a16e 100644 (file)
@@ -76,8 +76,8 @@ int TCPPacketSend(void *ClientData, OSK_PCHAR data, OSK_UINT len ) {
     return OSK_EINVAL;
     }
 
     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;
     }
 
     return OSK_EADDRNOTAVAIL;
     }