summaryrefslogtreecommitdiffstats
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-08-16 22:18:19 +0200
committerOndrej Filip <feela@network.cz>2000-08-16 22:18:19 +0200
commit1eec76077814fbe06879026809759dd5f5b8655f (patch)
tree92e7da4b6d278ce35f876eb5a23ce7a95818b67a /proto/ospf
parent059fc1e94abcd658e9340313ffd080c5829ba8ef (diff)
downloadbird-1eec76077814fbe06879026809759dd5f5b8655f.tar
bird-1eec76077814fbe06879026809759dd5f5b8655f.zip
Typo in rte_better.
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/ospf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index 0a151c4..55696bd 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -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))