From: Daniel Ng Date: Wed, 13 Aug 2008 19:37:52 +0000 (+0100) Subject: [ospfd] Default route needs to be refreshed after neighbour state change X-Git-Tag: frr-2.0-rc1~2392 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=9fd4958a4eef88c536e4a5aeefce302e10ee8ee6;p=matthieu%2Ffrr.git [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 --- diff --git a/ospfd/ospf_nsm.c b/ospfd/ospf_nsm.c index 69bd48ceb2..47b16af73c 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 {