From: paul Date: Tue, 26 Jul 2005 06:07:22 +0000 (+0000) Subject: 2005-07-26 Paul Jakma X-Git-Tag: frr-2.0-rc1~2959 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=c898775c95a2aad505911eccb6a70a12d4e49f1d;p=matthieu%2Ffrr.git 2005-07-26 Paul Jakma * ospf_abr.c: (ospf_abr_announce_network_to_area) SET_FLAG should be on lsa not old, which may be freed for one thing, obviously. --- diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index d0cc5455e0..4070a8f7d7 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -1,3 +1,9 @@ +2005-07-26 Paul Jakma + + * ospf_abr.c: (ospf_abr_announce_network_to_area) SET_FLAG + should be on lsa not old, which may be freed for one thing, + obviously. + 2005-07-12 Paul Jakma * ospfd.h: add OSPF_ABR_DEFAULT for convenience, make diff --git a/ospfd/ospf_abr.c b/ospfd/ospf_abr.c index a6053966d4..486ad954c6 100644 --- a/ospfd/ospf_abr.c +++ b/ospfd/ospf_abr.c @@ -748,7 +748,7 @@ ospf_abr_announce_network_to_area (struct prefix_ipv4 *p, u_int32_t cost, "refreshing summary"); set_metric (old, cost); lsa = ospf_summary_lsa_refresh (area->ospf, old); - SET_FLAG (old->flags, OSPF_LSA_APPROVED); + SET_FLAG (lsa->flags, OSPF_LSA_APPROVED); /* This will flood through area. */ } }