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/data…
==============================================================================
--- 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)
{