diff options
Diffstat (limited to 'plugins-root/check_icmp.c')
-rw-r--r-- | plugins-root/check_icmp.c | 2 |
1 files changed, 1 insertions, 1 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; |