diff options
author | hasso <hasso> | 2005-08-03 17:23:20 +0000 |
---|---|---|
committer | hasso <hasso> | 2005-08-03 17:23:20 +0000 |
commit | 4f5b4ed29c0044e12f4764b5fd2dfb6acb1d0a68 (patch) | |
tree | 50cda905ec90a0a19e3fc62c5ea60a94df32266b /bgpd/bgp_routemap.c | |
parent | 11b38e70dace24e7f2141ca22dc8d39c507af07c (diff) | |
download | quagga-4f5b4ed29c0044e12f4764b5fd2dfb6acb1d0a68.tar.bz2 quagga-4f5b4ed29c0044e12f4764b5fd2dfb6acb1d0a68.tar.xz |
* 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/bgp_routemap.c')
-rw-r--r-- | bgpd/bgp_routemap.c | 3 |
1 files changed, 0 insertions, 3 deletions
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); } |