diff --git a/src/core/config/tmf.h b/src/core/config/tmf.h index a28d7904b1a..42d3a70dc14 100644 --- a/src/core/config/tmf.h +++ b/src/core/config/tmf.h @@ -57,9 +57,11 @@ * The maximum number of EID-to-RLOC cache entries that can be used for "snoop optimization" where an entry is created * by inspecting a received message. * + * By default a 1/16 fraction of `OPENTHREAD_CONFIG_TMF_ADDRESS_CACHE_ENTRIES` is used. + * */ #ifndef OPENTHREAD_CONFIG_TMF_ADDRESS_CACHE_MAX_SNOOP_ENTRIES -#define OPENTHREAD_CONFIG_TMF_ADDRESS_CACHE_MAX_SNOOP_ENTRIES 2 +#define OPENTHREAD_CONFIG_TMF_ADDRESS_CACHE_MAX_SNOOP_ENTRIES (OPENTHREAD_CONFIG_TMF_ADDRESS_CACHE_ENTRIES / 16) #endif /**