From 9fd4958a4eef88c536e4a5aeefce302e10ee8ee6 Mon Sep 17 00:00:00 2001 From: Daniel Ng Date: Wed, 13 Aug 2008 20:37:52 +0100 Subject: [ospfd] Default route needs to be refreshed after neighbour state change 2008-08-13 Daniel Ng * ospf_nsm.c: (nsm_change_state) Refresh default route on state change - a hack, but it works. Signed-off-by: Paul Jakma --- ospfd/ospf_nsm.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ospfd') diff --git a/ospfd/ospf_nsm.c b/ospfd/ospf_nsm.c index 69bd48ce..47b16af7 100644 --- a/ospfd/ospf_nsm.c +++ b/ospfd/ospf_nsm.c @@ -686,6 +686,11 @@ nsm_change_state (struct ospf_neighbor *nbr, int state) continue; ospf_external_lsa_refresh_type (oi->ospf, x, force); } + /* XXX: Clearly some thing is wrong with refresh of external LSAs + * this added to hack around defaults not refreshing after a timer + * jump. + */ + ospf_external_lsa_refresh_default (oi->ospf); } else { -- cgit v1.2.1