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:
@ -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);
|
||||
|
Reference in New Issue
Block a user