From 0844b65d13d7a5928d425e9adaf28de63550a542 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Tue, 13 Jan 2009 19:15:49 +0100 Subject: Fix OSPF protocol error recovery behavior. When OSPF neighbor state drops down to EXSTART, clear LSA request and retransmit lists, as specified by RFC. I hope that this will prevent oscillations between EXSTART and LOADING states, which sometimes happened. It also contains related fix from Yury Shevchuk that properly resets DB summary list iterator. --- proto/ospf/neighbor.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'proto/ospf/neighbor.h') diff --git a/proto/ospf/neighbor.h b/proto/ospf/neighbor.h index c3ecd6b..67f7c57 100644 --- a/proto/ospf/neighbor.h +++ b/proto/ospf/neighbor.h @@ -11,9 +11,6 @@ #define _BIRD_OSPF_NEIGHBOR_H_ struct ospf_neighbor *ospf_neighbor_new(struct ospf_iface *ifa); -void neigh_chstate(struct ospf_neighbor *n, u8 state); -struct ospf_neighbor *electbdr(list nl); -struct ospf_neighbor *electdr(list nl); void ospf_neigh_sm(struct ospf_neighbor *n, int event); void bdr_election(struct ospf_iface *ifa); struct ospf_neighbor *find_neigh(struct ospf_iface *ifa, u32 rid); -- cgit v1.2.3