forked from Mirror/frr
ospf6d: null check (Coverity 23024)
Signed-off-by: F. Aragon <paco@voltanet.io>
This commit is contained in:
parent
71a7b1f82f
commit
4872511153
|
@ -641,6 +641,11 @@ void ospf6_abr_originate_summary(struct ospf6_route *route)
|
|||
|
||||
if (route->type == OSPF6_DEST_TYPE_NETWORK) {
|
||||
oa = ospf6_area_lookup(route->path.area_id, ospf6);
|
||||
if (!oa) {
|
||||
zlog_err("OSPFv6 area lookup failed");
|
||||
return;
|
||||
}
|
||||
|
||||
range = ospf6_route_lookup_bestmatch(&route->prefix,
|
||||
oa->range_table);
|
||||
if (range) {
|
||||
|
|
Loading…
Reference in a new issue