diff options
author | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2016-10-13 15:39:46 +0300 |
---|---|---|
committer | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2016-10-13 15:39:46 +0300 |
commit | b1c73303dff8bab4034c136906c980433d06333e (patch) | |
tree | a9697a51664960679834e5236a0fa7f5e376f134 /include/comms.h | |
parent | a862387f8f23ecdcfbf03a200529c7c78ac9ad9d (diff) |
...G...... [ZBXNEXT-12] validate CIDR during agent startup
Diffstat (limited to 'include/comms.h')
-rw-r--r-- | include/comms.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/comms.h b/include/comms.h index 892610d0ad8..69bd1fb2510 100644 --- a/include/comms.h +++ b/include/comms.h @@ -138,6 +138,7 @@ void zbx_tcp_unaccept(zbx_socket_t *s); ssize_t zbx_tcp_recv_ext(zbx_socket_t *s, unsigned char flags, int timeout); const char *zbx_tcp_recv_line(zbx_socket_t *s); +int zbx_validate_ip_list(const char *ip_list, char **error); int zbx_tcp_check_security(zbx_socket_t *s, const char *ip_list, int allow_if_empty); int zbx_udp_connect(zbx_socket_t *s, const char *source_ip, const char *ip, unsigned short port, int timeout); |