From: hasso Date: Wed, 3 Aug 2005 17:23:20 +0000 (+0000) Subject: * bgp_routemap.c: Revert part of leaking communities fix commited in X-Git-Tag: frr-2.0-rc1~2955 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=e279c7a6f35a211453ec52fdd16ab78535f5d727;p=mirror%2Ffrr.git * 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] --- diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog index ce4868b053..85388304e2 100644 --- a/bgpd/ChangeLog +++ b/bgpd/ChangeLog @@ -1,3 +1,9 @@ +2005-08-03 Hasso Tepper + + * 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 * (global) The great bgpd extern and static'ification. diff --git a/bgpd/bgp_routemap.c b/bgpd/bgp_routemap.c index 98e5a98fa0..bc9b6f788d 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); }