mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
FIBE = RouterAddRoute(NetworkAddress, Netmask, NCE, 1);
|
FIBE = RouterAddRoute(NetworkAddress, Netmask, NCE, Metric);
|
||||||
if (!FIBE) {
|
if (!FIBE) {
|
||||||
/* Not enough free resources */
|
/* Not enough free resources */
|
||||||
NBRemoveNeighbor(NCE);
|
NBRemoveNeighbor(NCE);
|
||||||
|
|
Loading…
Reference in a new issue