Commit 1eec7607 authored by Ondřej Filip's avatar Ondřej Filip
Browse files

Typo in rte_better.

parent 059fc1e9
......@@ -173,7 +173,7 @@ ospf_rte_better(struct rte *new, struct rte *old)
{
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 */
if(((new->attrs->source==RTS_OSPF) || (new->attrs->source==RTS_OSPF_IA))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment