diff --git a/pkg/tinydtls/doc.txt b/pkg/tinydtls/doc.txt index afab4ae621..3a4f7bf5ea 100644 --- a/pkg/tinydtls/doc.txt +++ b/pkg/tinydtls/doc.txt @@ -62,13 +62,6 @@ */ #ifndef CONFIG_DTLS_CONTEXT_MAX #define CONFIG_DTLS_CONTEXT_MAX (2) -#endif - - /** - * @brief The maximum number DTLS peers (i.e. sessions) - */ -#ifndef CONFIG_DTLS_PEER_MAX -#define CONFIG_DTLS_PEER_MAX (1) #endif /** diff --git a/sys/include/net/dtls.h b/sys/include/net/dtls.h index 4a1af9ed97..bfc9dada4e 100644 --- a/sys/include/net/dtls.h +++ b/sys/include/net/dtls.h @@ -40,6 +40,13 @@ extern "C" { #endif +/** + * @brief The maximum number DTLS peers (i.e. sessions) + */ +#ifndef CONFIG_DTLS_PEER_MAX +#define CONFIG_DTLS_PEER_MAX (1) +#endif + #ifdef __cplusplus } #endif