mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 22:50:14 +00:00
isisd: fix coverity SA warning
Add assert to clear SA warning. Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
parent
9a5d359ce8
commit
c33cb9fba6
@ -1037,6 +1037,8 @@ static int isis_snmp_circuit_level_lookup_next(
|
||||
break;
|
||||
}
|
||||
|
||||
assert(oid_idx != NULL);
|
||||
|
||||
/* We have to check level specified by index */
|
||||
if (oid_idx[1] < IS_LEVEL_1) {
|
||||
level = IS_LEVEL_1;
|
||||
|
Loading…
Reference in New Issue
Block a user