summaryrefslogtreecommitdiff
path: root/ospfd/ospf_zebra.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd/ospf_zebra.c')
-rw-r--r--ospfd/ospf_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c
index 543740c67e..f79d75d476 100644
--- a/ospfd/ospf_zebra.c
+++ b/ospfd/ospf_zebra.c
@@ -747,7 +747,7 @@ ospf_is_type_redistributed (int type, u_short instance)
return (DEFAULT_ROUTE_TYPE (type) ?
vrf_bitmap_check (zclient->default_information, VRF_DEFAULT) :
((instance && redist_check_instance(&zclient->mi_redist[AFI_IP][type], instance))
- || vrf_bitmap_check (zclient->redist[AFI_IP][type], VRF_DEFAULT)));
+ || (!instance && vrf_bitmap_check (zclient->redist[AFI_IP][type], VRF_DEFAULT))));
}
int