diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index 00a194f5c6..8e66a229c3 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -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 {