mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Fix by WaxDragon: Pass the Metric parameter from RouterCreateRoute to RouterAddRoute. This only needs to be hard-coded in *one* place.
svn path=/trunk/; revision=12403
This commit is contained in:
parent
4801e8cc23
commit
d673e21b8c
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ PFIB_ENTRY RouterCreateRoute(
|
|||
return NULL;
|
||||
}
|
||||
|
||||
FIBE = RouterAddRoute(NetworkAddress, Netmask, NCE, 1);
|
||||
FIBE = RouterAddRoute(NetworkAddress, Netmask, NCE, Metric);
|
||||
if (!FIBE) {
|
||||
/* Not enough free resources */
|
||||
NBRemoveNeighbor(NCE);
|
||||
|
|
Loading…
Reference in a new issue