summaryrefslogtreecommitdiffstats
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-07-15 18:48:12 +0200
committerOndrej Filip <feela@network.cz>2004-07-15 18:48:12 +0200
commitb37bb5ce03aed03d8b1bb0346f3277a93ff76da4 (patch)
tree0aeb1643e66cc14d441fc5d40da1158cefa10f15 /proto/ospf
parent28e8d862b7952419e6050230cf154d244a5bae51 (diff)
downloadbird-b37bb5ce03aed03d8b1bb0346f3277a93ff76da4.tar
bird-b37bb5ce03aed03d8b1bb0346f3277a93ff76da4.zip
Minor bugfix - add interface routes.
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 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;