From: Ondrej Filip Date: Thu, 15 Jul 2004 16:48:12 +0000 (+0000) Subject: Minor bugfix - add interface routes. X-Git-Tag: v1.2.0~256 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b37bb5ce03aed03d8b1bb0346f3277a93ff76da4;p=thirdparty%2Fbird.git Minor bugfix - add interface routes. --- diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index a65fe64a1..6602124bd 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;