]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Typo in rte_better.
authorOndrej Filip <feela@network.cz>
Wed, 16 Aug 2000 20:18:19 +0000 (20:18 +0000)
committerOndrej Filip <feela@network.cz>
Wed, 16 Aug 2000 20:18:19 +0000 (20:18 +0000)
proto/ospf/ospf.c

index 0a151c43b1b1bbe56b4d1df1e13f5b0a60b9dd8b..55696bd751f774f7043c0ce2a89fb8ff11b7ad13 100644 (file)
@@ -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))