summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorsasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-09-19 13:28:01 +0000
committersasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-09-19 13:28:01 +0000
commit3b1f91eb57aaeaa2d4e916c9448e7a7bc9eec0f3 (patch)
tree51bf1e94fb88aa3aedea5b6928bb0de8a43ab0ec /include
parentdaf48a13fe2a82e3d8a42fc0c55339eca1e1ef0d (diff)
downloadzabbix-3b1f91eb57aaeaa2d4e916c9448e7a7bc9eec0f3.tar.gz
zabbix-3b1f91eb57aaeaa2d4e916c9448e7a7bc9eec0f3.tar.xz
zabbix-3b1f91eb57aaeaa2d4e916c9448e7a7bc9eec0f3.zip
[DEV-19] Add support of IPv6 for windows agent (Sasha)
[svn merge svn://svn.zabbix.com/branches/1.4 -r4758:4763] git-svn-id: svn://svn.zabbix.com/trunk@4764 97f52cf1-0a1b-0410-bd0e-c28be96e8082
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];