0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Bugfix in router importation.

This commit is contained in:
Ondrej Filip 2001-12-07 17:34:09 +00:00
parent 30c34a1079
commit b78696282d

View File

@ -200,7 +200,7 @@ again:
else else
{ {
/* Update routing table */ /* Update routing table */
if(nf->en->nhi==NULL) if(ipa_equal(nf->en->nh,ipa_from_u32(0)))
{ {
struct top_hash_entry *en=nf->en; struct top_hash_entry *en=nf->en;
struct ospf_neighbor *neigh; struct ospf_neighbor *neigh;