diff --git a/linphone/oRTP/src/stun.c b/linphone/oRTP/src/stun.c index b82115280..3ba2fc141 100644 --- a/linphone/oRTP/src/stun.c +++ b/linphone/oRTP/src/stun.c @@ -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;