]> git.puffer.fish Git - mirror/frr.git/commitdiff
* bgp_routemap.c: Revert part of leaking communities fix commited in
authorhasso <hasso>
Wed, 3 Aug 2005 17:23:20 +0000 (17:23 +0000)
committerhasso <hasso>
Wed, 3 Aug 2005 17:23:20 +0000 (17:23 +0000)
  2005-05-27. While ecommunity fix seems to be correct, community case
  isn't.

Fixes bugzilla #209.
[backport candidate]

bgpd/ChangeLog
bgpd/bgp_routemap.c

index ce4868b0534418e4fdecb10cd2068820a7a552b4..85388304e212edeb69e2fd85d266a5ab2d2e3790 100644 (file)
@@ -1,3 +1,9 @@
+2005-08-03 Hasso Tepper <hasso at quagga.net>
+
+       * bgp_routemap.c: Revert part of leaking communities fix commited in
+         2005-05-27. While ecommunity fix seems to be correct, community case
+         isn't.
+
 2005-06-28 Paul Jakma <paul.jakma@sun.com>
 
        * (global) The great bgpd extern and static'ification.
index 98e5a98fa040aa6c5ad88de278dbaf1e13f4cba1..bc9b6f788d3949881959b0a5c8423ea603b02deb 100644 (file)
@@ -1223,9 +1223,6 @@ route_set_community (void *rule, struct prefix *prefix,
 
       attr->community = new;
 
-      if (old)
-       community_free (old);
-
       attr->flag |= ATTR_FLAG_BIT (BGP_ATTR_COMMUNITIES);
     }