mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 22:14:49 +00:00
Merge pull request #10228 from opensourcerouting/bgp-agg-aspath
bgpd: fix aggregate route AS Path attribute
This commit is contained in:
commit
8bf225ee15
@ -1073,7 +1073,9 @@ struct attr *bgp_attr_aggregate_intern(
|
||||
new = bgp_attr_intern(&attr);
|
||||
}
|
||||
|
||||
aspath_unintern(&new->aspath);
|
||||
/* Always release the 'intern()'ed AS Path. */
|
||||
aspath_unintern(&attr.aspath);
|
||||
|
||||
return new;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user