summaryrefslogtreecommitdiff
path: root/ospfd/ospf_flood.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd/ospf_flood.c')
-rw-r--r--ospfd/ospf_flood.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/ospfd/ospf_flood.c b/ospfd/ospf_flood.c
index bcb35315d8..6184d1352c 100644
--- a/ospfd/ospf_flood.c
+++ b/ospfd/ospf_flood.c
@@ -33,8 +33,6 @@
#include "ospfd/ospf_zebra.h"
#include "ospfd/ospf_dump.h"
-extern struct zclient *zclient;
-
/** @brief Function to refresh type-5 and type-7 DNA
* LSAs when we receive an indication LSA.
* @param Ospf instance.
@@ -172,11 +170,11 @@ struct external_info *ospf_external_info_check(struct ospf *ospf,
redist_on =
is_default_prefix4(&p)
? vrf_bitmap_check(
- &zclient->default_information[AFI_IP],
+ &ospf_zclient->default_information[AFI_IP],
ospf->vrf_id)
- : (zclient->mi_redist[AFI_IP][type].enabled ||
+ : (ospf_zclient->mi_redist[AFI_IP][type].enabled ||
vrf_bitmap_check(
- &zclient->redist[AFI_IP][type],
+ &ospf_zclient->redist[AFI_IP][type],
ospf->vrf_id));
// Pending: check for MI above.
if (redist_on) {