summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorDaniel Ng <daniel_ng11@lycos.com>2008-08-13 20:37:52 +0100
committerPaul Jakma <paul@quagga.net>2008-08-22 19:52:57 +0100
commit9fd4958a4eef88c536e4a5aeefce302e10ee8ee6 (patch)
treeb014b5fe3a94a6eab059632fea56929b335cbe28 /ospfd
parent69954565621127a62c11ec315b175b930230c217 (diff)
[ospfd] Default route needs to be refreshed after neighbour state change
2008-08-13 Daniel Ng <daniel_ng11@lycos.com> * ospf_nsm.c: (nsm_change_state) Refresh default route on state change - a hack, but it works. Signed-off-by: Paul Jakma <paul@quagga.net>
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_nsm.c5
1 files changed, 5 insertions, 0 deletions
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
{