Skip to content

Commit

Permalink
coap_net.c: Reuse coap_option_filter_clear in coap_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrentz authored and mrdeep1 committed Nov 3, 2023
1 parent ae4c5c7 commit b2c3ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coap_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) &&
Expand Down

0 comments on commit b2c3ca3

Please sign in to comment.