summaryrefslogtreecommitdiff
path: root/bgpd
diff options
context:
space:
mode:
authorhasso <hasso>2005-08-03 17:23:20 +0000
committerhasso <hasso>2005-08-03 17:23:20 +0000
commite279c7a6f35a211453ec52fdd16ab78535f5d727 (patch)
tree45f72efa37416835c10bca1f1fef07fcee717c37 /bgpd
parent6eb8827d669b06d7b38357860d23fa33e0c0078e (diff)
* 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. Fixes bugzilla #209. [backport candidate]
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/ChangeLog6
-rw-r--r--bgpd/bgp_routemap.c3
2 files changed, 6 insertions, 3 deletions
diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog
index ce4868b0..85388304 100644
--- a/bgpd/ChangeLog
+++ b/bgpd/ChangeLog
@@ -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.
diff --git a/bgpd/bgp_routemap.c b/bgpd/bgp_routemap.c
index 98e5a98f..bc9b6f78 100644
--- a/bgpd/bgp_routemap.c
+++ b/bgpd/bgp_routemap.c
@@ -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);
}