mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 10:03:50 +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
|
#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
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user