Commit cc2fee5e authored by Marcel Stör's avatar Marcel Stör Committed by GitHub
Browse files

Seed CoAP message id, fixes #847 (#1401)

parent 0bbce6f8
......@@ -546,7 +546,7 @@ next:
void coap_setup(void)
{
message_id = (unsigned short)rand(); // calculate only once
message_id = (unsigned short)os_random(); // calculate only once
}
inline int
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment