0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

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; struct top_hash_entry *en;
en = (struct top_hash_entry *) sn; 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); htonlsah(&(en->lsa), lsa);
DBG("Working on: %d\n", i); DBG("Working on: %d\n", i);