diff options
| author | Mark Stapp <mjs@voltanet.io> | 2021-03-31 12:39:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-31 12:39:17 -0400 |
| commit | 7ac98d2a57578bb94b9a07c41c36aaebd3f01b55 (patch) | |
| tree | 5a5dd12fbad315b00c78c10949508d7b6234c555 | |
| parent | e2efe13327adefb655811bdb03bb76b95db2407c (diff) | |
| parent | 69b34634ec225a5a09f4a06ac21ee4f89286773b (diff) | |
Merge pull request #8377 from idryzhov/fix-disable-bfdd
ospfd: fix building with --disable-bfdd
| -rw-r--r-- | ospfd/ospf_bfd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ospfd/ospf_bfd.c b/ospfd/ospf_bfd.c index b202cd01f1..2ab7db68bd 100644 --- a/ospfd/ospf_bfd.c +++ b/ospfd/ospf_bfd.c @@ -166,7 +166,9 @@ void ospf_bfd_write_config(struct vty *vty, const struct ospf_if_params *params __attribute__((unused))) { #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", params->bfd_config->detection_multiplier, params->bfd_config->min_rx, params->bfd_config->min_tx); |
