summaryrefslogtreecommitdiffstats
path: root/src/zabbix_server/discoverer/discoverer.c
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-04-15 07:34:55 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-04-15 07:34:55 +0000
commit87c31df221c2bd13949ba03f7868289900547ea4 (patch)
tree0ce5f2eb1b217f07d3530f2698459d8a3dc2d999 /src/zabbix_server/discoverer/discoverer.c
parentd3d82cbda23c24503fd4b47902f308da6de632a3 (diff)
downloadzabbix-87c31df221c2bd13949ba03f7868289900547ea4.tar.gz
zabbix-87c31df221c2bd13949ba03f7868289900547ea4.tar.xz
zabbix-87c31df221c2bd13949ba03f7868289900547ea4.zip
More improvements for discovery.
git-svn-id: svn://svn.zabbix.com/trunk@4015 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_server/discoverer/discoverer.c')
-rw-r--r--src/zabbix_server/discoverer/discoverer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zabbix_server/discoverer/discoverer.c b/src/zabbix_server/discoverer/discoverer.c
index 3babb25c..7900e466 100644
--- a/src/zabbix_server/discoverer/discoverer.c
+++ b/src/zabbix_server/discoverer/discoverer.c
@@ -617,10 +617,10 @@ static void process_rule(DB_DRULE *rule)
for(i=first;i<=last;i++)
{
- zabbix_log(LOG_LEVEL_WARNING, "IP [%d]", i);
zbx_snprintf(ip,sizeof(ip)-1,"%s.%d",
ip1,
i);
+ zabbix_log(LOG_LEVEL_WARNING, "IP [%s]", ip);
result = DBselect("select dcheckid,druleid,type,ports from dchecks where druleid=" ZBX_FS_UI64,
rule->druleid);
while((row=DBfetch(result)))