mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
dsm: make CONFIG_DSM_PEER_MAX depend on CONFIG_DTLS_PEER_MAX
This commit is contained in:
parent
945b05886b
commit
65ff161b3a
@ -31,6 +31,8 @@
|
||||
#define NET_DSM_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "dtls.h"
|
||||
#include "net/sock/dtls.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
@ -41,7 +43,7 @@ extern "C" {
|
||||
* @brief Maximum number of maintained DTLS sessions (tinyDTLS)
|
||||
*/
|
||||
#ifndef CONFIG_DSM_PEER_MAX
|
||||
#define CONFIG_DSM_PEER_MAX (1)
|
||||
#define CONFIG_DSM_PEER_MAX (CONFIG_DTLS_PEER_MAX)
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user