From: Ondrej Filip Date: Wed, 31 May 2000 15:04:45 +0000 (+0000) Subject: Set E2 metric for internal routes to LSINFINITY. X-Git-Tag: v1.2.0~754 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0822995cb31b596d1fe9e8bb67f7e9d1c184694e;p=thirdparty%2Fbird.git Set E2 metric for internal routes to LSINFINITY. --- diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index cfcba1fe4..1926a2bdf 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;