From 58e57b32bf733bf952794c056047fb810684a468 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Mon, 27 Jan 2014 22:16:35 -0500 Subject: check_dig: fix wrong IPv6 arguments order --- plugins/check_dig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') 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) usage_va(_("Could not parse arguments")); /* get the command to run */ - xasprintf (&command_line, "%s @%s -p %d %s -t %s %s %s", - PATH_TO_DIG, dns_server, server_port, query_address, record_type, dig_args, query_transport); + xasprintf (&command_line, "%s %s @%s -p %d %s -t %s %s", + PATH_TO_DIG, query_transport, dns_server, server_port, query_address, record_type, dig_args); alarm (timeout_interval); gettimeofday (&tv, NULL); -- cgit v1.2.3-74-g34f1