Skip to content

Commit

Permalink
net/gcoap: specify range for token length
Browse files Browse the repository at this point in the history
  • Loading branch information
kb2ma committed Dec 31, 2018
1 parent beae37c commit 03d4230
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/include/net/gcoap.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ extern "C" {
/**
* @ingroup net_gcoap_conf
* @brief Length in bytes for a token
*
* Value must be in the range 0 to @ref GCOAP_TOKENLEN_MAX.
*/
#ifndef GCOAP_TOKENLEN
#define GCOAP_TOKENLEN (2)
Expand Down

0 comments on commit 03d4230

Please # to comment.