]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_unistim: Fix clang warning: variable sized type not at end of a struct
authorIgor Goncharovsky <igor.goncharovsky@gmail.com>
Tue, 27 Aug 2019 11:10:56 +0000 (17:10 +0600)
committerIgor Goncharovsky <igor.goncharovsky@gmail.com>
Wed, 4 Sep 2019 03:59:52 +0000 (22:59 -0500)
commit056ddf76cee4f11dbb6529f9581c93301ebc3507
tree9bf146004a604e4cd844920f448b2a3ce281fac6
parent16ae4cd2db06c4a6341a2c97dd5172a99e9fb6ba
chan_unistim: Fix clang warning: variable sized type not at end of a struct

On reading information about initial client packet unistim use dirty
implementation of destination ip address retrieval. This fix uses
CMSG_*(..) to get ip address and make clang compile without warning.

ASTERISK-25592 #close
Reported-by: Alexander Traud
Change-Id: Ic1fd34c2c2bcc951da65bf62e3f7a8adff8351b1
channels/chan_unistim.c