mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 07:03:57 +00:00
Merge pull request #8660 from qlyoung/fix-bgp-conditional-advertisement-deconfig-removing-unrelated-filters
bgpd: fix deconfig of conditional advertisement
This commit is contained in:
commit
03b682be62
@ -6937,7 +6937,7 @@ static void peer_advertise_map_filter_update(struct peer *peer, afi_t afi,
|
||||
|
||||
/* Removed advertise-map configuration */
|
||||
if (!set) {
|
||||
memset(filter, 0, sizeof(struct bgp_filter));
|
||||
memset(&filter->advmap, 0, sizeof(filter->advmap));
|
||||
|
||||
/* decrement condition_filter_count delete timer if
|
||||
* this is the last advertise-map to be removed.
|
||||
|
Loading…
Reference in New Issue
Block a user