diff options
| author | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-04-15 08:58:48 +0000 |
|---|---|---|
| committer | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-04-15 08:58:48 +0000 |
| commit | dc613c5587703836d1d0b4767e95a7d1b294b528 (patch) | |
| tree | 51a3011fcea8f0f8e76e9a8488317548001e1548 /src/libs/zbxsysinfo/common/net.c | |
| parent | 5348f67b28ed1da2539db6de7a11c605a5dc3a57 (diff) | |
| download | zabbix-dc613c5587703836d1d0b4767e95a7d1b294b528.tar.gz zabbix-dc613c5587703836d1d0b4767e95a7d1b294b528.tar.xz zabbix-dc613c5587703836d1d0b4767e95a7d1b294b528.zip | |
- [ZBX-44] added timeout handler for processing net.tcp.* items
[svn merge svn://svn.zabbix.com/branches/1.4 -r5617:5620]
git-svn-id: svn://svn.zabbix.com/trunk@5621 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxsysinfo/common/net.c')
| -rw-r--r-- | src/libs/zbxsysinfo/common/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/zbxsysinfo/common/net.c b/src/libs/zbxsysinfo/common/net.c index 89201358..818a19cd 100644 --- a/src/libs/zbxsysinfo/common/net.c +++ b/src/libs/zbxsysinfo/common/net.c @@ -47,7 +47,7 @@ int tcp_expect( *value_int = 0; - if (SUCCEED == (ret = zbx_tcp_connect(&s, host, port, 0))) { + if (SUCCEED == (ret = zbx_tcp_connect(&s, host, port, 3/*alarm!!!*/))) { if( NULL == request ) { *value_int = 1; |
