[ros-diffs] [cgutman] 38864: - Fix an NCE state check

cgutman at svn.reactos.org cgutman at svn.reactos.org
Sun Jan 18 02:36:07 CET 2009


Author: cgutman
Date: Sat Jan 17 19:36:06 2009
New Revision: 38864

URL: http://svn.reactos.org/svn/reactos?rev=38864&view=rev
Log:
 - Fix an NCE state check

Modified:
    branches/aicom-network-fixes/lib/drivers/ip/network/neighbor.c

Modified: branches/aicom-network-fixes/lib/drivers/ip/network/neighbor.c
URL: http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/lib/drivers/ip/network/neighbor.c?rev=38864&r1=38863&r2=38864&view=diff
==============================================================================
--- branches/aicom-network-fixes/lib/drivers/ip/network/neighbor.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/lib/drivers/ip/network/neighbor.c [iso-8859-1] Sat Jan 17 19:36:06 2009
@@ -237,7 +237,7 @@
 {
     TI_DbgPrint(DEBUG_NCACHE, ("Called. NCE (0x%X).\n", NCE));
 
-    if (NCE->State == NUD_INCOMPLETE)
+    if (NCE->State & NUD_INCOMPLETE)
     {
 	/* This is the first solicitation of this neighbor. Broadcast
 	   a request for the neighbor */



More information about the Ros-diffs mailing list