Bugfix: Router was unable to advertise AS external routes.
This commit is contained in:
parent
62eee82321
commit
fe1489e6c1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue