summaryrefslogtreecommitdiff
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2001-12-07 17:34:09 +0000
committerOndrej Filip <feela@network.cz>2001-12-07 17:34:09 +0000
commitb78696282de32a202a9bed304f8edf044833f36f (patch)
tree977194ea946eecb7d5d79805730bf3d6b40af849 /proto/ospf
parent30c34a10797c2773a0b99e71b22f111ee2a7f980 (diff)
Bugfix in router importation.
Diffstat (limited to 'proto/ospf')
-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 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;