1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 18:13:49 +01:00

dsm: make CONFIG_DSM_PEER_MAX depend on CONFIG_DTLS_PEER_MAX

This commit is contained in:
Martine Lenders 2021-10-08 12:15:53 +02:00
parent 945b05886b
commit 65ff161b3a
No known key found for this signature in database
GPG Key ID: 2134D77A5336DD80

View File

@ -31,6 +31,8 @@
#define NET_DSM_H #define NET_DSM_H
#include <stdint.h> #include <stdint.h>
#include "dtls.h"
#include "net/sock/dtls.h" #include "net/sock/dtls.h"
#ifdef __cplusplus #ifdef __cplusplus
@ -41,7 +43,7 @@ extern "C" {
* @brief Maximum number of maintained DTLS sessions (tinyDTLS) * @brief Maximum number of maintained DTLS sessions (tinyDTLS)
*/ */
#ifndef CONFIG_DSM_PEER_MAX #ifndef CONFIG_DSM_PEER_MAX
#define CONFIG_DSM_PEER_MAX (1) #define CONFIG_DSM_PEER_MAX (CONFIG_DTLS_PEER_MAX)
#endif #endif
/** /**