summaryrefslogtreecommitdiff
path: root/ospfd/ospf_lsa.c
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2013-02-20 10:00:54 +0000
committerDavid Lamparter <equinox@diac24.net>2013-04-20 06:14:27 +0200
commit4c14b7f684510592f2eb46fd84859d8bca57def9 (patch)
treef42890045f6d1cd37cdd61106b6524e6c476f445 /ospfd/ospf_lsa.c
parent4de8bf001189d40e086764fd804e59657d2e21e6 (diff)
ospfd: fix flooding procedure
An ospf router should accept a new maxage LSA into its lsdb if it has any neighbors in state Exchange or Loading. ospfd would however only account for neighbors on the same interface which does not seem to be a valid optimization. Signed-off-by: Christian Franke <chris@opensourcerouting.org> Signed-off-by: Joachim Nilsson <troglobit@gmail.com> Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'ospfd/ospf_lsa.c')
-rw-r--r--ospfd/ospf_lsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c
index e0e05ab8..109a120b 100644
--- a/ospfd/ospf_lsa.c
+++ b/ospfd/ospf_lsa.c
@@ -2794,7 +2794,7 @@ ospf_lsa_install (struct ospf *ospf, struct ospf_interface *oi,
}
-static int
+int
ospf_check_nbr_status (struct ospf *ospf)
{
struct listnode *node, *nnode;