mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
[IP]
- Register an interface route for interfaces with a static IP address svn path=/trunk/; revision=52729
This commit is contained in:
parent
1fdc23fa32
commit
70bcf6fc0a
|
@ -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"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue