Commit in reactos/drivers/lib/ip/network on MAIN | |||
router.c | +1 | -1 | 1.9 -> 1.10 |
Fix by WaxDragon: Pass the Metric parameter from RouterCreateRoute to RouterAddRoute. This only needs to be hard-coded in *one* place.
diff -u -r1.9 -r1.10 --- router.c 4 Dec 2004 23:29:55 -0000 1.9 +++ router.c 30 Dec 2004 13:54:21 -0000 1.10 @@ -395,7 +395,7 @@
return NULL; }
- FIBE = RouterAddRoute(NetworkAddress, Netmask, NCE, 1);
+ FIBE = RouterAddRoute(NetworkAddress, Netmask, NCE, Metric);
if (!FIBE) { /* Not enough free resources */ NBRemoveNeighbor(NCE);