From b78696282de32a202a9bed304f8edf044833f36f Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Fri, 7 Dec 2001 17:34:09 +0000 Subject: Bugfix in router importation. --- proto/ospf/rt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/ospf') 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; -- cgit v1.2.3