Set E2 metric for internal routes to LSINFINITY.
This commit is contained in:
parent
9a04d0307e
commit
0822995cb3
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ again:
|
||||||
ne=net_get(p->table, nf->fn.prefix, nf->fn.pxlen);
|
ne=net_get(p->table, nf->fn.prefix, nf->fn.pxlen);
|
||||||
e=rte_get_temp(&a0);
|
e=rte_get_temp(&a0);
|
||||||
e->u.ospf.metric1=nf->metric;
|
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->u.ospf.tag=0; /* FIXME Some config? */
|
||||||
e->pflags = 0;
|
e->pflags = 0;
|
||||||
e->net=ne;
|
e->net=ne;
|
||||||
|
|
Loading…
Reference in a new issue