]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9078: [sofia-sip] fix linux build of HEPv2/HEPv3 code
authorMichael Jerris <mike@jerris.com>
Wed, 27 Apr 2016 19:45:59 +0000 (14:45 -0500)
committerMichael Jerris <mike@jerris.com>
Wed, 27 Apr 2016 19:45:59 +0000 (14:45 -0500)
libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c

index 6803b5559b565656122c7432c89c41877539e3a4..01c025999384097b333363e602039f8cb15f44d9 100644 (file)
@@ -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;