]> 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:38 +0000 (22:59 -0500)
commit92261d60c876cb0be63eb75390525bd1732a5db8
treefaef83ebccd86931084da6bac4724053bc6011d3
parent260969f5ad6e10de40d63c5a0fa8271aaead8328
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