diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | THANKS.in | 1 | ||||
-rw-r--r-- | plugins/check_dig.c | 4 |
3 files changed, 4 insertions, 2 deletions
@@ -9,6 +9,7 @@ This file documents the major additions and syntax changes between releases. | |||
9 | Don't let e.g. check_http's -C option reset SSL version if e.g. -S 1 -C 5 is specified | 9 | Don't let e.g. check_http's -C option reset SSL version if e.g. -S 1 -C 5 is specified |
10 | check_ide_smart could disable offline auto tests but could not re-enable them. | 10 | check_ide_smart could disable offline auto tests but could not re-enable them. |
11 | For this reason all SMART command modes have been disabled. | 11 | For this reason all SMART command modes have been disabled. |
12 | check_dig: fix wrong IPv6 arguments order (Stéphane Bortzmeyer) | ||
12 | 13 | ||
13 | WARNINGS | 14 | WARNINGS |
14 | check_procs now ignores its parent process to avoid unexpected results when invoked via certain shells | 15 | check_procs now ignores its parent process to avoid unexpected results when invoked via certain shells |
@@ -303,3 +303,4 @@ Simon Kainz | |||
303 | Steve Weinreich | 303 | Steve Weinreich |
304 | Geoff Oakham | 304 | Geoff Oakham |
305 | Tim Laszlo | 305 | Tim Laszlo |
306 | Stéphane Bortzmeyer | ||
diff --git a/plugins/check_dig.c b/plugins/check_dig.c index 903019d7..7575995d 100644 --- a/plugins/check_dig.c +++ b/plugins/check_dig.c | |||
@@ -88,8 +88,8 @@ main (int argc, char **argv) | |||
88 | usage_va(_("Could not parse arguments")); | 88 | usage_va(_("Could not parse arguments")); |
89 | 89 | ||
90 | /* get the command to run */ | 90 | /* get the command to run */ |
91 | xasprintf (&command_line, "%s @%s -p %d %s -t %s %s %s", | 91 | xasprintf (&command_line, "%s %s @%s -p %d %s -t %s %s", |
92 | PATH_TO_DIG, dns_server, server_port, query_address, record_type, dig_args, query_transport); | 92 | PATH_TO_DIG, query_transport, dns_server, server_port, query_address, record_type, dig_args); |
93 | 93 | ||
94 | alarm (timeout_interval); | 94 | alarm (timeout_interval); |
95 | gettimeofday (&tv, NULL); | 95 | gettimeofday (&tv, NULL); |