mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-25 20:08:40 +00:00
Merge pull request #15258 from louis-6wind/fix-adj-in-attr
bgpd: fix attr comparaison bgp_adj_in_set
This commit is contained in:
commit
bd3b17d27d
@ -169,7 +169,7 @@ void bgp_adj_in_set(struct bgp_dest *dest, struct peer *peer, struct attr *attr,
|
||||
|
||||
for (adj = dest->adj_in; adj; adj = adj->next) {
|
||||
if (adj->peer == peer && adj->addpath_rx_id == addpath_id) {
|
||||
if (adj->attr != attr) {
|
||||
if (!attrhash_cmp(adj->attr, attr)) {
|
||||
bgp_attr_unintern(&adj->attr);
|
||||
adj->attr = bgp_attr_intern(attr);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user