summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ospfd/ChangeLog6
-rw-r--r--ospfd/ospf_abr.c2
2 files changed, 7 insertions, 1 deletions
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. */
}
}