summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-31 17:04:45 +0200
committerOndrej Filip <feela@network.cz>2000-05-31 17:04:45 +0200
commit0822995cb31b596d1fe9e8bb67f7e9d1c184694e (patch)
tree84e747edc94dd5fe4e946b27d48b4c5c8e800db6 /proto
parent9a04d0307e85913554122a2dd0397486b5ef702c (diff)
downloadbird-0822995cb31b596d1fe9e8bb67f7e9d1c184694e.tar
bird-0822995cb31b596d1fe9e8bb67f7e9d1c184694e.zip
Set E2 metric for internal routes to LSINFINITY.
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/rt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c
index cfcba1f..1926a2b 100644
--- a/proto/ospf/rt.c
+++ b/proto/ospf/rt.c
@@ -218,7 +218,7 @@ again:
ne=net_get(p->table, nf->fn.prefix, nf->fn.pxlen);
e=rte_get_temp(&a0);
e->u.ospf.metric1=nf->metric;
- e->u.ospf.metric2=0;
+ e->u.ospf.metric2=LSINFINITY;
e->u.ospf.tag=0; /* FIXME Some config? */
e->pflags = 0;
e->net=ne;