diff options
author | Ondrej Filip <feela@network.cz> | 2000-06-05 18:13:50 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-06-05 18:13:50 +0200 |
commit | 2a5d7caa951d37c50d52ebef8ef269fa587dec5e (patch) | |
tree | 39f3008e9a3eb892c8f1f16a8373114710334b05 /proto | |
parent | 07b7100292fb87169ad5f18285927c39697f6998 (diff) | |
download | bird-2a5d7caa951d37c50d52ebef8ef269fa587dec5e.tar bird-2a5d7caa951d37c50d52ebef8ef269fa587dec5e.zip |
I calculated next hop of parent instead of actual LSA. :-(
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 d5b4626..32aeed2 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -557,7 +557,7 @@ calc_next_hop(struct top_hash_entry *par, struct top_hash_entry *en, DBG(" Next hop calculating for id: %I rt: %I type: %u\n",en->lsa.id,en->lsa.rt,en->lsa.type); if(par->lsa.type!=LSA_T_RT) { - if((neigh=find_neigh_noifa(po,par->lsa.rt))==NULL) return; + if((neigh=find_neigh_noifa(po,en->lsa.rt))==NULL) return; nn=neigh_find(p,&neigh->ip,0); DBG(" Next hop calculated: %I.\n", nn->addr); en->nh=nn->addr; |