]> git.ipfire.org Git - thirdparty/asterisk.git/commit
build: Fix ast_sockaddr initialization to be more portable 81/2981/2
authorGeorge Joseph <gjoseph@digium.com>
Thu, 9 Jun 2016 14:20:33 +0000 (08:20 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 9 Jun 2016 14:49:37 +0000 (09:49 -0500)
commitfd5467ce01643e51f0f80c07af0098ab49591947
treec7d3f7c46dcf4ec66ab50ff2a5023219a7929df1
parent5d126d72e58b224eaa7b2db18ba8db898569e3bc
build:  Fix ast_sockaddr initialization to be more portable

A change to glibc 2.22 changed the order of the sockadddr_storage
members which caused the places where we do an initialization of
ast_sockaddr with '{ { 0, 0, } }' to fail compilation.  Those
initializers (which we shouldn't have been using anyway) have been
replaced with memsets.

Change-Id: Idd1b3b320903d8771bfe221f0b015685de628fa4
channels/chan_sip.c
tests/test_netsock2.c