From 5d3f555234d7144272e3081665411d098280d5ad Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Sun, 13 Feb 2005 23:36:31 +0000 Subject: Many bugfixes in routing table calculation and summary LSA origination. --- proto/ospf/neighbor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'proto/ospf/neighbor.c') 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) { -- cgit v1.2.3