1
0
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:
Martine Lenders 2018-10-11 12:46:12 +02:00 committed by GitHub
commit 94adf875c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ int rdcli_simple_register(void)
return RDCLI_SIMPLE_ERROR; return RDCLI_SIMPLE_ERROR;
} }
/* finish, we don't have any payload */ /* 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) { if (gcoap_req_send2(buf, len, &remote, NULL) == 0) {
return RDCLI_SIMPLE_ERROR; return RDCLI_SIMPLE_ERROR;
} }