bfdd: Initialize DesiredMinTxInterval to the required 1 second minimum

bfd.DesiredMinTxInterval MUST be initialized to a value of at least one second (1,000,000 microseconds).

Signed-off-by: zmw12306 <zmw12306@gmail.com>
This commit is contained in:
zmw12306 2025-04-06 01:11:41 -04:00
parent 44c4743e08
commit e6a32f4888

View file

@ -437,7 +437,7 @@ struct sbfd_reflector {
/* Retrieved from ptm_timer.h from Cumulus PTM sources. */
#define BFD_DEF_DEMAND 0
#define BFD_DEFDETECTMULT 3
#define BFD_DEFDESIREDMINTX (300 * 1000) /* microseconds. */
#define BFD_DEFDESIREDMINTX (1000 * 1000) /* microseconds. */
#define BFD_DEFREQUIREDMINRX (300 * 1000) /* microseconds. */
#define BFD_DEF_DES_MIN_ECHO_TX (50 * 1000) /* microseconds. */
#define BFD_DEF_REQ_MIN_ECHO_RX (50 * 1000) /* microseconds. */