ospfd: Fix indentation in ospf_is_type_redistributed

clang-format was not happy.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2021-04-17 18:03:46 -04:00
parent 5d8c8d0b1d
commit b259f5af14

View File

@ -766,12 +766,12 @@ int ospf_is_type_redistributed(struct ospf *ospf, int type,
ospf->vrf_id) ospf->vrf_id)
: ((instance : ((instance
&& redist_check_instance( && redist_check_instance(
&zclient->mi_redist[AFI_IP][type], &zclient->mi_redist[AFI_IP][type],
instance)) instance))
|| (!instance || (!instance
&& vrf_bitmap_check( && vrf_bitmap_check(
zclient->redist[AFI_IP][type], zclient->redist[AFI_IP][type],
ospf->vrf_id)))); ospf->vrf_id))));
} }
int ospf_redistribute_set(struct ospf *ospf, int type, unsigned short instance, int ospf_redistribute_set(struct ospf *ospf, int type, unsigned short instance,