]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Set E2 metric for internal routes to LSINFINITY.
authorOndrej Filip <feela@network.cz>
Wed, 31 May 2000 15:04:45 +0000 (15:04 +0000)
committerOndrej Filip <feela@network.cz>
Wed, 31 May 2000 15:04:45 +0000 (15:04 +0000)
proto/ospf/rt.c

index cfcba1fe415a67e934e6f4ddc805617395ffe5d9..1926a2bdff849cbdf7449687004f69574b2f9ee8 100644 (file)
@@ -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;