coap_net.c: Reuse coap_option_filter_clear in coap_dispatch

This commit is contained in:
kkrentz authored and Jon Shallow committed 2023-11-03 11:29:51 +00:00
1 parent ae4c5c7ad0
commit b2c3ca3b89
1 file changed
+1 -1
+1 -1
View File
@@ -3577,7 +3577,7 @@ coap_dispatch(coap_context_t *context, coap_session_t *session,
pdu->session = session;
coap_show_pdu(COAP_LOG_DEBUG, pdu);
memset(&opt_filter, 0, sizeof(coap_opt_filter_t));
coap_option_filter_clear(&opt_filter);
#if COAP_OSCORE_SUPPORT
if (!COAP_PDU_IS_SIGNALING(pdu) &&