From: Paul Jakma Date: Sun, 27 Aug 2006 08:01:20 +0000 (+0000) Subject: [ospfd] redistribute default no longer works after complete reconfig, fix X-Git-Tag: frr-2.0-rc1~2607 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=29b5a044e5ca25944c408cf41a6414e071b11a26;p=mirror%2Ffrr.git [ospfd] redistribute default no longer works after complete reconfig, fix 2006-08-27 J.J. Krabbendam * ospfd.c: (ospf_finish_final) default redistribute should be unset too, fixes bug where reconfiguring ospfd completely can no longer enable default redistribution. --- diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index 1d7a4a1e94..0015ee6df3 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -1,3 +1,9 @@ +2006-08-27 J.J. Krabbendam + + * ospfd.c: (ospf_finish_final) default redistribute should be + unset too, fixes bug where reconfiguring ospfd completely + can no longer enable default redistribution. + 2006-08-25 Paul Jakma * (general) Bug #134. Be more robust to backward time changes, diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index a1f0f0111f..8c151d98a2 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);