diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index 8a6990e2..b8cbbd14 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -200,7 +200,7 @@ again: else { /* 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 ospf_neighbor *neigh;