]> git.puffer.fish Git - mirror/frr.git/commitdiff
2005-07-26 Paul Jakma <paul.jakma@sun.com>
authorpaul <paul>
Tue, 26 Jul 2005 06:07:22 +0000 (06:07 +0000)
committerpaul <paul>
Tue, 26 Jul 2005 06:07:22 +0000 (06:07 +0000)
* 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
ospfd/ospf_abr.c

index d0cc5455e0d40e26ca50c1185c0e8e4e5fc3b222..4070a8f7d794250b0206a76c4e12628df40a44e6 100644 (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>
 
        * ospfd.h: add OSPF_ABR_DEFAULT for convenience, make 
index a6053966d46fd5ab4a1a4b76b7df8c3e76bacb3b..486ad954c6c6afb76b6c799b1341411b813b8b94 100644 (file)
@@ -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. */
         }
     }