[ros-diffs] [cgutman] 56484: [TCPIP] - Update the cached link and IP information when a link status change occurs

cgutman at svn.reactos.org cgutman at svn.reactos.org
Thu May 3 18:39:02 UTC 2012


Author: cgutman
Date: Thu May  3 18:38:59 2012
New Revision: 56484

URL: http://svn.reactos.org/svn/reactos?rev=56484&view=rev
Log:
[TCPIP]
- Update the cached link and IP information when a link status change occurs

Modified:
    trunk/reactos/drivers/network/tcpip/datalink/lan.c

Modified: trunk/reactos/drivers/network/tcpip/datalink/lan.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/datalink/lan.c?rev=56484&r1=56483&r2=56484&view=diff
==============================================================================
--- trunk/reactos/drivers/network/tcpip/datalink/lan.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/datalink/lan.c [iso-8859-1] Thu May  3 18:38:59 2012
@@ -734,6 +734,10 @@
     
     Context->Adapter->CompletingReset = FALSE;
 
+    /* Update the IP and link status information cached in TCP */
+    TCPUpdateInterfaceIPInformation(Interface);
+    TCPUpdateInterfaceLinkStatus(Interface);
+
     /* We're done here if the adapter isn't connected */
     if (Context->State != LAN_STATE_STARTED)
     {




More information about the Ros-diffs mailing list