Skip to content

Commit

Permalink
fixup! fixup! bed89de
Browse files Browse the repository at this point in the history
  • Loading branch information
maribu committed Nov 1, 2024
1 parent 304bacc commit aa77667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/include/net/nanocoap.h
Original file line number Diff line number Diff line change
Expand Up @@ -732,8 +732,8 @@ static inline size_t coap_hdr_get_token_len(const coap_hdr_t *hdr)
case 0:
return hdr->ver_t_tkl & 0xf;
case 1:
* https://www.rfc-editor.org/rfc/rfc8974#name-extended-token-length-tkl-f
*/
return buf[sizeof(coap_hdr_t)] + 13;
case 2:
return byteorder_bebuftohs(buf + sizeof(coap_hdr_t)) + 269;
}

Expand Down

0 comments on commit aa77667

Please sign in to comment.