[ros-diffs] [cgutman] 43355: - Small fix for 43354 - Only pass the physical address if we have it

cgutman at svn.reactos.org cgutman at svn.reactos.org
Sat Oct 10 10:26:20 CEST 2009


Author: cgutman
Date: Sat Oct 10 10:26:20 2009
New Revision: 43355

URL: http://svn.reactos.org/svn/reactos?rev=43355&view=rev
Log:
 - Small fix for 43354
 - Only pass the physical address if we have it

Modified:
    trunk/reactos/lib/drivers/ip/network/neighbor.c

Modified: trunk/reactos/lib/drivers/ip/network/neighbor.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/network/neighbor.c?rev=43355&r1=43354&r2=43355&view=diff
==============================================================================
--- trunk/reactos/lib/drivers/ip/network/neighbor.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/ip/network/neighbor.c [iso-8859-1] Sat Oct 10 10:26:20 2009
@@ -203,7 +203,8 @@
 {
     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);
 }
 




More information about the Ros-diffs mailing list