summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-07-13 22:04:57 +0000
committerOndrej Filip <feela@network.cz>2004-07-13 22:04:57 +0000
commitfe1489e6c13a405b0c76c36213af4017dd4ea2ec (patch)
treed899acd6eced5f98df04a1770c3a8d3236d79e78
parent62eee82321a9a0451eea9b41a478444ceb87ecb0 (diff)
Bugfix: Router was unable to advertise AS external routes.
-rw-r--r--proto/ospf/dbdes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/dbdes.c b/proto/ospf/dbdes.c
index 2b65b1a3..6e84eddf 100644
--- a/proto/ospf/dbdes.c
+++ b/proto/ospf/dbdes.c
@@ -80,7 +80,7 @@ ospf_dbdes_send(struct ospf_neighbor *n)
struct top_hash_entry *en;
en = (struct top_hash_entry *) sn;
- if ((n->ifa->type != OSPF_IT_VLINK) && (en->lsa.type != LSA_T_EXT))
+ if ((n->ifa->type != OSPF_IT_VLINK) || (en->lsa.type != LSA_T_EXT))
{
htonlsah(&(en->lsa), lsa);
DBG("Working on: %d\n", i);