mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 10:11:52 +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)
|
* there! (JK)
|
||||||
* Folks, talk to me: what is reasonable here!?
|
* 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);
|
aspath = aspath_delete_confed_seq(aspath);
|
||||||
|
|
||||||
stream_putc(s,
|
stream_putc(s,
|
||||||
|
Loading…
Reference in New Issue
Block a user