- Small fix for 43354
authorCameron Gutman <aicommander@gmail.com>
Sat, 10 Oct 2009 08:26:20 +0000 (08:26 +0000)
committerCameron Gutman <aicommander@gmail.com>
Sat, 10 Oct 2009 08:26:20 +0000 (08:26 +0000)
 - Only pass the physical address if we have it

svn path=/trunk/; revision=43355

reactos/lib/drivers/ip/network/neighbor.c

index 941facc..375aac1 100644 (file)
@@ -203,7 +203,8 @@ VOID NBSendSolicit(PNEIGHBOR_CACHE_ENTRY NCE)
 {
     TI_DbgPrint(DEBUG_NCACHE, ("Called. NCE (0x%X).\n", NCE));
 
-    ARPTransmit(&NCE->Address, NCE->LinkAddress,
+    ARPTransmit(&NCE->Address,
+                (NCE->State & NUD_INCOMPLETE) ? NULL : NCE->LinkAddress,
                 NCE->Interface);
 }