Commit f0363a78 authored by Youness Alaoui's avatar Youness Alaoui

stupid pseudo-typo made us always go through the handle_inbound_stun

parent d26f84fd
......@@ -1341,8 +1341,7 @@ _nice_agent_recv (
}
}
if (!stun_message_validate_buffer_length ((uint8_t *) buf, (size_t) len) ==
len)
if (stun_message_validate_buffer_length ((uint8_t *) buf, (size_t) len) != len)
/* If the retval is no 0, its not a valid stun packet, probably data */
return len;
......
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