diff options
author | Ondrej Filip <feela@network.cz> | 2005-02-13 23:36:31 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2005-02-13 23:36:31 +0000 |
commit | 5d3f555234d7144272e3081665411d098280d5ad (patch) | |
tree | 24383496aa4fe4db700dc58ed3ed841c8069399d /proto/ospf/neighbor.c | |
parent | 0d3effcf8ca3784c36ce6229343ddfd754e405dc (diff) |
Many bugfixes in routing table calculation and summary LSA origination.
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r-- | proto/ospf/neighbor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c index af6b8534..0339ec2d 100644 --- a/proto/ospf/neighbor.c +++ b/proto/ospf/neighbor.c @@ -115,6 +115,7 @@ neigh_chstate(struct ospf_neighbor *n, u8 state) { ifa->fadj--; schedule_rt_lsa(ifa->oa); + if (ifa->type == OSPF_IT_VLINK) schedule_rt_lsa(ifa->voa); schedule_net_lsa(ifa); } @@ -507,7 +508,7 @@ find_neigh(struct ospf_iface *ifa, u32 rid) } -/* Find a closest neighbor which is at leas 2-Way */ +/* Find a closest neighbor which is at least 2-Way */ struct ospf_neighbor * find_neigh_noifa(struct proto_ospf *po, u32 rid) { |