summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/rt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c
index 8a6990e..b8cbbd1 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;