mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 11:44:16 +00:00
Merge pull request #12902 from FRRouting/mergify/bp/dev/8.5/pr-12900
bgpd: Avoid double aspath_dup() for confederation when remote-as != AS_SPECIFIED (backport #12900)
This commit is contained in:
commit
f0b263d679
@ -4364,7 +4364,6 @@ bgp_size_t bgp_packet_attribute(struct bgp *bgp, struct peer *peer,
|
||||
* if the peer belongs to us.
|
||||
*/
|
||||
if (bgp_confederation_peers_check(bgp, peer->as)) {
|
||||
aspath = aspath_dup(attr->aspath);
|
||||
aspath = aspath_add_confed_seq(aspath,
|
||||
peer->local_as);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user