Set E2 metric for internal routes to LSINFINITY.

This commit is contained in:
Ondrej Filip 2000-05-31 15:04:45 +00:00
parent 9a04d0307e
commit 0822995cb3

View 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;