From c898775c95a2aad505911eccb6a70a12d4e49f1d Mon Sep 17 00:00:00 2001
From: paul <paul>
Date: Tue, 26 Jul 2005 06:07:22 +0000
Subject: 2005-07-26 Paul Jakma <paul.jakma@sun.com>

	* 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.
---
 ospfd/ChangeLog  | 6 ++++++
 ospfd/ospf_abr.c | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog
index d0cc5455..4070a8f7 100644
--- a/ospfd/ChangeLog
+++ b/ospfd/ChangeLog
@@ -1,3 +1,9 @@
+2005-07-26 Paul Jakma <paul.jakma@sun.com>
+
+	* 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 <paul.jakma@sun.com>
 
 	* ospfd.h: add OSPF_ABR_DEFAULT for convenience, make 
diff --git a/ospfd/ospf_abr.c b/ospfd/ospf_abr.c
index a6053966..486ad954 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. */
         }
     }
-- 
cgit v1.2.1