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