diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-09-08 13:45:02 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-09-08 13:45:02 +0200 |
commit | be862406627da3bd1facea9309b3f32e67422eab (patch) | |
tree | a1463c4feca6145d4a2e36b39c893a7253316b73 /proto/ospf/rt.c | |
parent | f9c799a00e705b1420b214628c2bb2a30bf491d9 (diff) |
Temporary OSPFv3 development commit.
Finally, it is working.
Diffstat (limited to 'proto/ospf/rt.c')
-rw-r--r-- | proto/ospf/rt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index 0f6efd78..9d3aea0a 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -321,7 +321,6 @@ ospf_rt_spfa(struct ospf_area *oa) } rr = (struct ospf_lsa_rt_link *) (rt + 1); - DBG(" Number of links: %u\n", rt->links); for (i = 0; i < lsa_rt_count(&act->lsa); i++) { tmp = NULL; @@ -1178,7 +1177,7 @@ again1: if (nf->n.ifa) a0.iface = nf->n.ifa->iface; a0.gw = nf->n.nh; - if ((!ipa_equal(nf->n.nh, IPA_NONE)) && (!neigh_find(p, &nf->n.nh, 0))) + if (ipa_nonzero(nf->n.nh) && (!neigh_find2(p, &nf->n.nh, nf->n.ifa->iface, 0))) { int found = 0; struct ospf_iface *ifa; |