[bbr] reduce the default reregisteration delay (#7996)

After BBR restarting, in order to receive the packets from multicast
group, the devices, which have registered multicast group addresses to
that BBR, needs to re-register these groups. In current logic, the
default max reregistration delay is too large (1200 seconds).
This commit is contained in:
Zhangwx
2022-08-16 13:20:47 -07:00
committed by GitHub
parent 92a5bd5451
commit 7c648559da
+1 -1
View File
@@ -236,7 +236,7 @@ enum LeaderStartMode : uint8_t
* Backbone Router / DUA / MLR constants
*
*/
constexpr uint16_t kRegistrationDelayDefault = 1200; ///< In seconds.
constexpr uint16_t kRegistrationDelayDefault = 5; ///< In seconds.
constexpr uint32_t kMlrTimeoutDefault = 3600; ///< In seconds.
constexpr uint32_t kMlrTimeoutMin = 300; ///< In seconds.
constexpr uint32_t kMlrTimeoutMax = 0x7fffffff / 1000; ///< In seconds (about 24 days).