From: Michael Jerris Date: Wed, 27 Apr 2016 19:45:59 +0000 (-0500) Subject: FS-9078: [sofia-sip] fix linux build of HEPv2/HEPv3 code X-Git-Tag: v1.6.8~3^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6d0a994954d43a6d2e9593acaa1dffa80a30ef6;p=thirdparty%2Ffreeswitch.git FS-9078: [sofia-sip] fix linux build of HEPv2/HEPv3 code --- diff --git a/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c b/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c index 6803b5559b..01c0259993 100644 --- a/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c +++ b/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c @@ -596,12 +596,12 @@ int tport_capt_msg_hepv3 (tport_t const *self, msg_t *msg, size_t n, struct hep_generic *hg=NULL; unsigned int buflen=0, iplen=0,tlen=0, payload_len = 0; su_time_t now; - hep_chunk_ip4_t src_ip4 = { 0 }, dst_ip4 = { 0 }; + hep_chunk_ip4_t src_ip4 = {{0}}, dst_ip4 = {{0}}; hep_chunk_t payload_chunk; int orig_n = 0; #if SU_HAVE_IN6 - hep_chunk_ip6_t src_ip6 = { 0 }, dst_ip6 = { 0 }; + hep_chunk_ip6_t src_ip6 = {{0}}, dst_ip6 = {{0}}; #endif int eth_frame_len = 16000;