Merge pull request #8346 from mjstapp/fix_cov_sa

This commit is contained in:
David Lamparter 2021-03-29 20:17:12 +02:00 committed by GitHub
commit 5a0f0ca6cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -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;

View File

@ -1096,8 +1096,10 @@ void ospf6_asbr_send_externals_to_area(struct ospf6_area *oa)
for (ALL_LSDB(oa->ospf6->lsdb, lsa, lsanext)) {
if (ntohs(lsa->header->type) == OSPF6_LSTYPE_AS_EXTERNAL) {
zlog_debug("%s: Flooding AS-External LSA %s",
__func__, lsa->name);
if (IS_OSPF6_DEBUG_ASBR)
zlog_debug("%s: Flooding AS-External LSA %s",
__func__, lsa->name);
ospf6_flood_area(NULL, lsa, oa);
}
}