From 3034b384dd9e6c78e686a294b1f80775fdb3e392 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Thu, 7 Jan 2010 11:46:11 +0100 Subject: A minor fix in OSPF. --- proto/ospf/rt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/ospf') diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index 2928326..aa7245a 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -72,7 +72,7 @@ ri_better(struct proto_ospf *po, orta * new, ort *nefn, orta * old, ort *oefn, i if (!rfc1583) { if ((new->type < RTS_OSPF_EXT1) && (new->oa->areaid == 0)) newtype = RTS_OSPF_IA; - if ((old->type < RTS_OSPF_EXT2) && (old->oa->areaid == 0)) oldtype = RTS_OSPF_IA; + if ((old->type < RTS_OSPF_EXT1) && (old->oa->areaid == 0)) oldtype = RTS_OSPF_IA; } if (newtype < oldtype) -- cgit v1.2.3