diff options
author | Ondrej Filip <feela@network.cz> | 2004-07-15 18:48:12 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2004-07-15 18:48:12 +0200 |
commit | b37bb5ce03aed03d8b1bb0346f3277a93ff76da4 (patch) | |
tree | 0aeb1643e66cc14d441fc5d40da1158cefa10f15 /proto | |
parent | 28e8d862b7952419e6050230cf154d244a5bae51 (diff) | |
download | bird-b37bb5ce03aed03d8b1bb0346f3277a93ff76da4.tar bird-b37bb5ce03aed03d8b1bb0346f3277a93ff76da4.zip |
Minor bugfix - add interface routes.
Diffstat (limited to 'proto')
-rw-r--r-- | proto/ospf/rt.c | 2 |
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; |