summaryrefslogtreecommitdiff
path: root/ospfd/ospfd.c
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2006-08-27 08:01:20 +0000
committerPaul Jakma <paul.jakma@sun.com>2006-08-27 08:01:20 +0000
commit29b5a044e5ca25944c408cf41a6414e071b11a26 (patch)
treec21d040542a2b61bbd211c3195e9da9dc78cc9b1 /ospfd/ospfd.c
parent9f906c7c562bd62043c77a79d84967deea9fe45e (diff)
[ospfd] redistribute default no longer works after complete reconfig, fix
2006-08-27 J.J. Krabbendam <jkrabbendam@aimsys.nl> * ospfd.c: (ospf_finish_final) default redistribute should be unset too, fixes bug where reconfiguring ospfd completely can no longer enable default redistribution.
Diffstat (limited to 'ospfd/ospfd.c')
-rw-r--r--ospfd/ospfd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c
index a1f0f011..8c151d98 100644
--- a/ospfd/ospfd.c
+++ b/ospfd/ospfd.c
@@ -398,6 +398,7 @@ ospf_finish_final (struct ospf *ospf)
/* Unregister redistribution */
for (i = 0; i < ZEBRA_ROUTE_MAX; i++)
ospf_redistribute_unset (ospf, i);
+ ospf_redistribute_default_unset (ospf);
for (ALL_LIST_ELEMENTS (ospf->areas, node, nnode, area))
ospf_remove_vls_through_area (ospf, area);