Commit 3385930e authored by aymeric's avatar aymeric

fix bug for size of ICE-CONTROLLXX attributes

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@284 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 215d1519
......@@ -382,7 +382,7 @@ iceParseAtrPriority( char* body, unsigned int hdrLen, IceAtrPriority *result )
static bool_t
iceParseAtrIceControll( char* body, unsigned int hdrLen, IceAtrIceControll *result )
{
if ( hdrLen != sizeof(result) )
if ( hdrLen != 8 )
{
ortp_error("stun: Incorrect size for ICEA_ICECONTROLLED/ICEA_ICECONTROLLING");
return FALSE;
......
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