diff options
author | Viktors Tjarve <viktors.tjarve@zabbix.com> | 2017-03-29 12:11:33 +0300 |
---|---|---|
committer | Viktors Tjarve <viktors.tjarve@zabbix.com> | 2017-03-29 12:11:33 +0300 |
commit | 10709a809d2e5de7161e6dbbbb9e22be9960ce15 (patch) | |
tree | ff3c226e2a60f1ec50e59fdc226d4554b9188db1 /include/proxy.h | |
parent | b05608d2be90270cfcc1ebb0a54f6545604ebf2a (diff) |
........S. [ZBX-11889] (ZBX-11889_34) fixed updating proxy 'lastaccess' time if any valid data received for trunk
Diffstat (limited to 'include/proxy.h')
-rw-r--r-- | include/proxy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/proxy.h b/include/proxy.h index 024d38eb8cb..42e969e935b 100644 --- a/include/proxy.h +++ b/include/proxy.h @@ -37,7 +37,7 @@ int get_active_proxy_from_request(struct zbx_json_parse *jp, DC_PROXY *proxy, ch int zbx_proxy_check_permissions(const DC_PROXY *proxy, const zbx_socket_t *sock, char **error); int check_access_passive_proxy(zbx_socket_t *sock, int send_response, const char *req); -void update_proxy_lastaccess(const zbx_uint64_t hostid); +void update_proxy_lastaccess(const zbx_uint64_t hostid, time_t last_access); int get_proxyconfig_data(zbx_uint64_t proxy_hostid, struct zbx_json *j, char **error); void process_proxyconfig(struct zbx_json_parse *jp_data); |