mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 10:04:18 +00:00
Merge pull request #963 from opensourcerouting/plist-trie-corruption
lib: fix prefix list trie corruption
This commit is contained in:
commit
c040f4804a
@ -538,7 +538,8 @@ static void trie_install_fn(struct prefix_list_entry *object,
|
||||
return;
|
||||
if ((*updptr)->prefix.prefixlen < object->prefix.prefixlen)
|
||||
break;
|
||||
if ((*updptr)->seq > object->seq)
|
||||
if ((*updptr)->prefix.prefixlen == object->prefix.prefixlen
|
||||
&& (*updptr)->seq > object->seq)
|
||||
break;
|
||||
updptr = &(*updptr)->next_best;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user