From fe1489e6c13a405b0c76c36213af4017dd4ea2ec Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 13 Jul 2004 22:04:57 +0000 Subject: [PATCH] Bugfix: Router was unable to advertise AS external routes. --- proto/ospf/dbdes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);