From 6ba1991a8e50c863853b63258b3873e3b3e2551c Mon Sep 17 00:00:00 2001
From: Hauke Petersen <hauke.petersen@fu-berlin.de>
Date: Wed, 10 Oct 2018 11:07:17 +0200
Subject: [PATCH] net/rdcli_simple: do not send CF opt in POST msg

---
 sys/net/application_layer/rdcli_simple/rdcli_simple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/net/application_layer/rdcli_simple/rdcli_simple.c b/sys/net/application_layer/rdcli_simple/rdcli_simple.c
index 53de7449dd..20edc90ceb 100644
--- a/sys/net/application_layer/rdcli_simple/rdcli_simple.c
+++ b/sys/net/application_layer/rdcli_simple/rdcli_simple.c
@@ -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;
     }
-- 
GitLab