Skip to content

Commit

Permalink
Merge pull request #10252 from FRRouting/mergify/bp/stable/8.0/pr-10228
Browse files Browse the repository at this point in the history
bgpd: fix aggregate route AS Path attribute (backport #10228)
  • Loading branch information
ton31337 committed Dec 22, 2021
2 parents 3d09128 + 52d2d50 commit ee92346
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bgpd/bgp_attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,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;
}

Expand Down

0 comments on commit ee92346

Please sign in to comment.