summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/comms.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/comms.h b/include/comms.h
index 29fe4f69..07f19103 100644
--- a/include/comms.h
+++ b/include/comms.h
@@ -45,6 +45,10 @@ typedef enum
typedef struct zbx_sock
{
+#if defined(HAVE_IPV6)
+ ZBX_SOCKET sockets[FD_SETSIZE];
+ int num_socks;
+#endif /* HAVE_IPV6 */
ZBX_SOCKET socket;
ZBX_SOCKET socket2;
char buf_stat[ZBX_STAT_BUF_LEN];