mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 14:29:47 +00:00
ospf6d: fix coverity warning
Signed-off-by: Lynne Morrison <lynne@voltanet.io>
This commit is contained in:
parent
dc66229da8
commit
4ff390e747
@ -1120,6 +1120,7 @@ void ospf6_asbr_remove_externals_from_area(struct ospf6_area *oa)
|
||||
/* if router is only in a stub area then purge AS-External LSAs */
|
||||
iterend = ospf6_lsdb_head(ospf6->lsdb, 0, 0, 0, &lsa);
|
||||
while (lsa != NULL) {
|
||||
assert(lsa->lock > 1);
|
||||
lsanext = ospf6_lsdb_next(iterend, lsa);
|
||||
if (ntohs(lsa->header->type) == OSPF6_LSTYPE_AS_EXTERNAL)
|
||||
ospf6_lsdb_remove(lsa, ospf6->lsdb);
|
||||
|
Loading…
Reference in New Issue
Block a user