From b37bb5ce03aed03d8b1bb0346f3277a93ff76da4 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Thu, 15 Jul 2004 16:48:12 +0000 Subject: Minor bugfix - add interface routes. --- proto/ospf/rt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto') diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index a65fe64..6602124 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -933,7 +933,7 @@ again1: a0.aflags = 0; a0.iface = nf->n.ifa; a0.gw = nf->n.nh; - if(!neigh_find(p, &nf->n.nh, 0)) + if ((!ipa_equal(nf->n.nh, IPA_NONE)) && (!neigh_find(p, &nf->n.nh, 0))) { int found = 0; struct ospf_iface *ifa; -- cgit v1.2.3