diff --git a/ospfd/ospf_bfd.c b/ospfd/ospf_bfd.c index 123515e039..b202cd01f1 100644 --- a/ospfd/ospf_bfd.c +++ b/ospfd/ospf_bfd.c @@ -47,8 +47,6 @@ DEFINE_MTYPE_STATIC(OSPFD, BFD_CONFIG, "BFD configuration data"); -extern struct zclient *zclient; - /* * ospf_bfd_trigger_event - Neighbor is registered/deregistered with BFD when * neighbor state is changed to/from 2way. diff --git a/ospfd/ospf_dump.c b/ospfd/ospf_dump.c index cd4fbc6dcd..2442f2e781 100644 --- a/ospfd/ospf_dump.c +++ b/ospfd/ospf_dump.c @@ -61,7 +61,7 @@ unsigned long conf_debug_ospf_ti_lfa = 0; unsigned long conf_debug_ospf_defaultinfo = 0; unsigned long conf_debug_ospf_ldp_sync = 0; unsigned long conf_debug_ospf_gr = 0; -unsigned long conf_debug_ospf_bfd = 0; +unsigned long conf_debug_ospf_bfd; /* Enable debug option variables -- valid only session. */ unsigned long term_debug_ospf_packet[5] = {0, 0, 0, 0, 0}; @@ -78,7 +78,7 @@ unsigned long term_debug_ospf_ti_lfa = 0; unsigned long term_debug_ospf_defaultinfo; unsigned long term_debug_ospf_ldp_sync; unsigned long term_debug_ospf_gr = 0; -unsigned long term_debug_ospf_bfd = 0; +unsigned long term_debug_ospf_bfd; const char *ospf_redist_string(unsigned int route_type) { diff --git a/ospfd/ospf_interface.h b/ospfd/ospf_interface.h index 7c30bed94c..a9534f543d 100644 --- a/ospfd/ospf_interface.h +++ b/ospfd/ospf_interface.h @@ -114,7 +114,7 @@ struct ospf_if_params { uint32_t min_tx; /** BFD profile. */ char profile[BFD_PROFILE_NAME_LEN]; - } * bfd_config; + } *bfd_config; /* MPLS LDP-IGP Sync configuration */ struct ldp_sync_info *ldp_sync_info;