1
0
mirror of https://github.com/rtbrick/bngblaster.git synced 2024-05-06 15:54:57 +00:00

fix OSPF request tree

This commit is contained in:
Christian Giese
2024-03-20 21:31:08 +00:00
parent ed5a86f929
commit 3f477c1011

View File

@ -1713,9 +1713,7 @@ ospf_lsa_update_handler_rx(ospf_interface_s *ospf_interface,
search = hb_tree_search(ospf_neighbor->lsa_request_tree[lsa_type], key);
if(search) {
entry = *search;
if(ospf_lsa_compare((ospf_lsa_header_s*)&entry->hdr, hdr) != 1) {
ospf_lsa_tree_remove(&entry->key, ospf_neighbor->lsa_request_tree[lsa_type]);
}
ospf_lsa_tree_remove(&entry->key, ospf_neighbor->lsa_request_tree[lsa_type]);
}
search = hb_tree_search(ospf_instance->lsdb[lsa_type], key);