mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 11:25:41 +00:00
Merge pull request #8377 from idryzhov/fix-disable-bfdd
ospfd: fix building with --disable-bfdd
This commit is contained in:
commit
7ac98d2a57
@ -166,7 +166,9 @@ void ospf_bfd_write_config(struct vty *vty, const struct ospf_if_params *params
|
|||||||
__attribute__((unused)))
|
__attribute__((unused)))
|
||||||
{
|
{
|
||||||
#if HAVE_BFDD == 0
|
#if HAVE_BFDD == 0
|
||||||
if (CHECK_FLAG(bfd_info->flags, BFD_FLAG_PARAM_CFG))
|
if (params->bfd_config->detection_multiplier != BFD_DEF_DETECT_MULT
|
||||||
|
|| params->bfd_config->min_rx != BFD_DEF_MIN_RX
|
||||||
|
|| params->bfd_config->min_tx != BFD_DEF_MIN_TX)
|
||||||
vty_out(vty, " ip ospf bfd %d %d %d\n",
|
vty_out(vty, " ip ospf bfd %d %d %d\n",
|
||||||
params->bfd_config->detection_multiplier,
|
params->bfd_config->detection_multiplier,
|
||||||
params->bfd_config->min_rx, params->bfd_config->min_tx);
|
params->bfd_config->min_rx, params->bfd_config->min_tx);
|
||||||
|
Loading…
Reference in New Issue
Block a user