diff options
Diffstat (limited to 'plugins-root/t')
0 files changed, 0 insertions, 0 deletions
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; |