summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-01-07 11:46:11 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-01-07 11:46:11 +0100
commit3034b384dd9e6c78e686a294b1f80775fdb3e392 (patch)
tree73289f40b19ddddd6378fab68ee1726034602956
parent861f223a531be17d2e3e7abc0246be3057b809a0 (diff)
A minor fix in OSPF.
-rw-r--r--proto/ospf/rt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c
index 29283268..aa7245ab 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)