]> 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 04:00:09 +0000 (23:00 -0500)
commit3863ab9af9ade586b5c2932842e88325f03583d2
treea7d6bd6272e297fa084337e56f3bd9b42fd45f68
parentd3cfab159cbfc9c71916dfe9bd38581c57eb1915
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