Bugfix: Router was unable to advertise AS external routes.

This commit is contained in:
Ondrej Filip 2004-07-13 22:04:57 +00:00
parent 62eee82321
commit fe1489e6c1

View file

@ -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);