summaryrefslogtreecommitdiffstats
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-07-14 00:04:57 +0200
committerOndrej Filip <feela@network.cz>2004-07-14 00:04:57 +0200
commitfe1489e6c13a405b0c76c36213af4017dd4ea2ec (patch)
treed899acd6eced5f98df04a1770c3a8d3236d79e78 /proto/ospf
parent62eee82321a9a0451eea9b41a478444ceb87ecb0 (diff)
downloadbird-fe1489e6c13a405b0c76c36213af4017dd4ea2ec.tar
bird-fe1489e6c13a405b0c76c36213af4017dd4ea2ec.zip
Bugfix: Router was unable to advertise AS external routes.
Diffstat (limited to 'proto/ospf')
-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 2b65b1a..6e84edd 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);