summaryrefslogtreecommitdiffstats
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2005-02-14 00:36:31 +0100
committerOndrej Filip <feela@network.cz>2005-02-14 00:36:31 +0100
commit5d3f555234d7144272e3081665411d098280d5ad (patch)
tree24383496aa4fe4db700dc58ed3ed841c8069399d /proto/ospf/neighbor.c
parent0d3effcf8ca3784c36ce6229343ddfd754e405dc (diff)
downloadbird-5d3f555234d7144272e3081665411d098280d5ad.tar
bird-5d3f555234d7144272e3081665411d098280d5ad.zip
Many bugfixes in routing table calculation and summary LSA origination.
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r--proto/ospf/neighbor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c
index af6b853..0339ec2 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)
{