mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 19:35:13 +00:00
Merge pull request #13634 from yyuanam/fix_bgp_core
bgpd: fix bgpd core when unintern attr
This commit is contained in:
commit
549f664d39
@ -4682,6 +4682,10 @@ bgp_size_t bgp_packet_attribute(struct bgp *bgp, struct peer *peer,
|
||||
* there! (JK)
|
||||
* Folks, talk to me: what is reasonable here!?
|
||||
*/
|
||||
|
||||
/* Make sure dup aspath before the modification */
|
||||
if (aspath == attr->aspath)
|
||||
aspath = aspath_dup(attr->aspath);
|
||||
aspath = aspath_delete_confed_seq(aspath);
|
||||
|
||||
stream_putc(s,
|
||||
|
Loading…
Reference in New Issue
Block a user