mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #10139 from haukepetersen/fix_rdclisimple_donotsendct
net/rdcli_simple: do not send CF opt in POST msg
This commit is contained in:
commit
94adf875c0
@ -60,7 +60,7 @@ int rdcli_simple_register(void)
|
||||
return RDCLI_SIMPLE_ERROR;
|
||||
}
|
||||
/* finish, we don't have any payload */
|
||||
ssize_t len = gcoap_finish(&pkt, 0, COAP_FORMAT_LINK);
|
||||
ssize_t len = gcoap_finish(&pkt, 0, COAP_FORMAT_NONE);
|
||||
if (gcoap_req_send2(buf, len, &remote, NULL) == 0) {
|
||||
return RDCLI_SIMPLE_ERROR;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user