]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6375 ifdef for sun in this case
authorBrian West <brian@freeswitch.org>
Tue, 18 Mar 2014 22:43:46 +0000 (17:43 -0500)
committerBrian West <brian@freeswitch.org>
Tue, 18 Mar 2014 22:43:46 +0000 (17:43 -0500)
libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c

index 6931ba13f34821504309cf6dbe82d31076bfe04f..512143545189187d1ecd53d80646be8247fc8439 100644 (file)
@@ -359,7 +359,11 @@ void tport_capt_msg(tport_t const *self, msg_t *msg, size_t n,
    int buflen = 0, error;
    su_sockaddr_t const *su, *su_self;
    struct hep_hdr hep_header;
+#if __sun__
+   struct hep_iphdr hep_ipheader = {{{{0}}}};
+#else
    struct hep_iphdr hep_ipheader = {{0}};   
+#endif
 #if SU_HAVE_IN6
    struct hep_ip6hdr hep_ip6header = {{{{0}}}};
 #endif