From 1eec76077814fbe06879026809759dd5f5b8655f Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 16 Aug 2000 20:18:19 +0000 Subject: Typo in rte_better. --- proto/ospf/ospf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto') 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)) -- cgit v1.2.3