1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net
Marian Buschsieweke 2c93dc9c3b
sys/net/nanocoap: fix coap_build_reply_header()
In case no payload is added, `coap_build_reply_header()` would return
`sizeof(coap_hdr_t) + token_length` regardless of the actual header
length returned by `coap_build_hdr()`. These can be different if
RFC 8974 extended tokens are enabled (module `nanocoap_token_ext`
used): If an extended token length field is used, its size is not
considered.

Co-authored-by: benpicco <benpicco@googlemail.com>
2024-11-04 21:18:07 +01:00
..
application_layer sys/net/nanocoap: fix coap_build_reply_header() 2024-11-04 21:18:07 +01:00
ble bluetil: Ensure advertisement length does not exceed pkt len 2024-10-01 14:49:09 +02:00
credman *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
crosslayer *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
dsm sys/net/dsm: add missing dependencies 2022-02-21 15:15:02 +01:00
gnrc Merge pull request #20834 from derMihai/mir/nib/drop_for_unreachable_rebase 2024-10-16 09:16:40 +00:00
link_layer *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
lora *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
netdev_test netdev_test: avoid explicit cast to netdev 2021-07-09 11:35:19 +02:00
netif *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
netstats sys/include/net/netstats: move xtimer header where it is needed 2021-02-16 18:18:21 +01:00
netutils net/util: make use of dns_query() 2022-07-29 17:48:26 +02:00
network_layer *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
sock *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
transport_layer sys: fix doxygen grouping 2018-06-11 19:12:02 +02:00
doc.txt doc: add net to sys group 2015-08-30 14:00:33 +02:00
ieee802154.txt doc: Link to thread primer 2024-02-14 17:44:13 +01:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00