mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 08:49:01 +00:00
FS-6375 ifdef for sun in this case
This commit is contained in:
parent
aeebd712f8
commit
f6d9027282
@ -359,7 +359,11 @@ void tport_capt_msg(tport_t const *self, msg_t *msg, size_t n,
|
|||||||
int buflen = 0, error;
|
int buflen = 0, error;
|
||||||
su_sockaddr_t const *su, *su_self;
|
su_sockaddr_t const *su, *su_self;
|
||||||
struct hep_hdr hep_header;
|
struct hep_hdr hep_header;
|
||||||
|
#if __sun__
|
||||||
|
struct hep_iphdr hep_ipheader = {{{{0}}}};
|
||||||
|
#else
|
||||||
struct hep_iphdr hep_ipheader = {{0}};
|
struct hep_iphdr hep_ipheader = {{0}};
|
||||||
|
#endif
|
||||||
#if SU_HAVE_IN6
|
#if SU_HAVE_IN6
|
||||||
struct hep_ip6hdr hep_ip6header = {{{{0}}}};
|
struct hep_ip6hdr hep_ip6header = {{{{0}}}};
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user