Skip to content
Snippets Groups Projects
Unverified Commit 94adf875 authored by Martine Lenders's avatar Martine Lenders Committed by GitHub
Browse files

Merge pull request #10139 from haukepetersen/fix_rdclisimple_donotsendct

net/rdcli_simple: do not send CF opt in POST msg
parents 239b3dfe 6ba1991a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment