summaryrefslogtreecommitdiff
path: root/ospfd/ospf_abr.c
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/ospf_abr.c
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/ospf_abr.c')
-rw-r--r--ospfd/ospf_abr.c2
1 files changed, 1 insertions, 1 deletions
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. */
}
}