]> git.proxmox.com Git - mirror_frr.git/commit - ospf6d/ospf6_area.c
ospf6d: Rename ospf6_is_router_abr to more accurately reflect what it does
authorDonald Sharp <sharpd@nvidia.com>
Thu, 10 Jun 2021 11:59:06 +0000 (07:59 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 10 Jun 2021 11:59:06 +0000 (07:59 -0400)
commit95b3f03d89101fa812a8e4648f5745e2d532037b
treee60163d3e73f82be60239746686f959e8e5f6f57
parent0d882ec7a390f57ebf8cfc2adf10aa79f976b124
ospf6d: Rename ospf6_is_router_abr to more accurately reflect what it does

The ospf6_is_router_abr is checking to see if ospfv3 is an abr router
and also setting values.  Let's rename it too `ospf6_check_and_set_router_abr`
to more accurately reflect what it is doing.

Additionally fix coverity #1505176 where we were not checking the return
value of ospf6_is_router_abr like we did every other time.  In this
case we don't care about the return value so indicate that we do not.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
ospf6d/ospf6_abr.c
ospf6d/ospf6_abr.h
ospf6d/ospf6_area.c
ospf6d/ospf6_asbr.c
ospf6d/ospf6_intra.c
ospf6d/ospf6_nssa.c
ospf6d/ospf6_snmp.c
ospf6d/ospf6_spf.c
ospf6d/ospf6_top.c