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.
This commit is contained in:
paul 2005-07-26 06:07:22 +00:00
parent d57834f6e5
commit c898775c95
2 changed files with 7 additions and 1 deletions

View File

@ -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> 2005-07-12 Paul Jakma <paul.jakma@sun.com>
* ospfd.h: add OSPF_ABR_DEFAULT for convenience, make * ospfd.h: add OSPF_ABR_DEFAULT for convenience, make

View File

@ -748,7 +748,7 @@ ospf_abr_announce_network_to_area (struct prefix_ipv4 *p, u_int32_t cost,
"refreshing summary"); "refreshing summary");
set_metric (old, cost); set_metric (old, cost);
lsa = ospf_summary_lsa_refresh (area->ospf, old); 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. */ /* This will flood through area. */
} }
} }