mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-05 15:53:32 +00:00
Merge pull request #8920 from mjstapp/fix_bgp_adv_sa
bgpd: Fix SA warning about freeing an aspath
This commit is contained in:
commit
31cd08c94e
@ -839,6 +839,8 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw)
|
||||
bgp_dest_get_prefix(dest), &tmp_pi);
|
||||
|
||||
if (ret == RMAP_DENYMATCH) {
|
||||
/* The aspath belongs to 'attr' */
|
||||
tmp_attr.aspath = NULL;
|
||||
bgp_attr_flush(&tmp_attr);
|
||||
continue;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user