mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
[IP]
- Register an interface route for interfaces with a static IP address svn path=/trunk/; revision=52729
This commit is contained in:
@@ -265,6 +265,11 @@ BOOLEAN IPRegisterInterface(
|
||||
|
||||
IF->Index = ChosenIndex;
|
||||
|
||||
if (!AddrIsUnspecified(&IF->Unicast))
|
||||
{
|
||||
IPAddInterfaceRoute(IF);
|
||||
}
|
||||
|
||||
/* Add interface to the global interface list */
|
||||
TcpipInterlockedInsertTailList(&InterfaceListHead,
|
||||
&IF->ListEntry,
|
||||
|
||||
@@ -125,7 +125,6 @@ NDIS_STATUS LoopRegisterAdapter(
|
||||
AddrInitIPv4(&Loopback->Broadcast, LOOPBACK_BCASTADDR_IPv4);
|
||||
|
||||
IPRegisterInterface(Loopback);
|
||||
IPAddInterfaceRoute(Loopback);
|
||||
|
||||
TI_DbgPrint(MAX_TRACE, ("Leaving.\n"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user