mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-10 05:08:42 +00:00
Typo in rte_better.
This commit is contained in:
parent
059fc1e94a
commit
1eec760778
@ -173,7 +173,7 @@ ospf_rte_better(struct rte *new, struct rte *old)
|
|||||||
{
|
{
|
||||||
struct proto *p = new->attrs->proto;
|
struct proto *p = new->attrs->proto;
|
||||||
|
|
||||||
if(new->u.ospf.metric1=LSINFINITY) return 0;
|
if(new->u.ospf.metric1==LSINFINITY) return 0;
|
||||||
|
|
||||||
/* External paths are always longer that internal */
|
/* External paths are always longer that internal */
|
||||||
if(((new->attrs->source==RTS_OSPF) || (new->attrs->source==RTS_OSPF_IA))
|
if(((new->attrs->source==RTS_OSPF) || (new->attrs->source==RTS_OSPF_IA))
|
||||||
|
Loading…
Reference in New Issue
Block a user