diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | THANKS.in | 1 | ||||
-rw-r--r-- | plugins-root/check_icmp.c | 2 |
3 files changed, 3 insertions, 1 deletions
@@ -14,6 +14,7 @@ This file documents the major additions and syntax changes between releases. | |||
14 | Make check_snmp work more like v1.4.14 with regard to using special values (Timeticks, STRING) as numeric thresholds | 14 | Make check_snmp work more like v1.4.14 with regard to using special values (Timeticks, STRING) as numeric thresholds |
15 | Fix check_ldap overriding the port when --ssl was specified after -p | 15 | Fix check_ldap overriding the port when --ssl was specified after -p |
16 | Fix check_procs where regex input of '|' would get displayed in output - now replaced with ',' | 16 | Fix check_procs where regex input of '|' would get displayed in output - now replaced with ',' |
17 | Fix segfault in check_host when hostname returns multiple IP addresses (Sebastian Harl) | ||
17 | 18 | ||
18 | 1.4.15 27th July 2010 | 19 | 1.4.15 27th July 2010 |
19 | ENHANCEMENTS | 20 | ENHANCEMENTS |
@@ -268,3 +268,4 @@ Brian Landers | |||
268 | Ryan Kelly | 268 | Ryan Kelly |
269 | Stéphane Urbanovski | 269 | Stéphane Urbanovski |
270 | Marco Beck | 270 | Marco Beck |
271 | Sebastian Harl | ||
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index 6d8ba09..fe8fc56 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c | |||
@@ -621,7 +621,7 @@ main(int argc, char **argv) | |||
621 | } | 621 | } |
622 | 622 | ||
623 | host = list; | 623 | host = list; |
624 | table = malloc(sizeof(struct rta_host **) * (argc - 1)); | 624 | table = malloc(sizeof(struct rta_host **) * targets); |
625 | i = 0; | 625 | i = 0; |
626 | while(host) { | 626 | while(host) { |
627 | host->id = i*packets; | 627 | host->id = i*packets; |