summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorpaul <paul>2005-07-26 06:07:22 +0000
committerpaul <paul>2005-07-26 06:07:22 +0000
commitc898775c95a2aad505911eccb6a70a12d4e49f1d (patch)
treeebfcfb61d9ae79ee135e2900580575852b806a86 /ospfd
parentd57834f6e5f060924b92b9544070ecf5f145848a (diff)
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.
Diffstat (limited to 'ospfd')
-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. */
}
}