summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-plugins/files/extra-patch-dig-to-drill.diff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nagios-plugins/files/extra-patch-dig-to-drill.diff')
-rw-r--r--net-mgmt/nagios-plugins/files/extra-patch-dig-to-drill.diff6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-mgmt/nagios-plugins/files/extra-patch-dig-to-drill.diff b/net-mgmt/nagios-plugins/files/extra-patch-dig-to-drill.diff
index 21a8df54c690..3f568a49445f 100644
--- a/net-mgmt/nagios-plugins/files/extra-patch-dig-to-drill.diff
+++ b/net-mgmt/nagios-plugins/files/extra-patch-dig-to-drill.diff
@@ -1,11 +1,11 @@
---- plugins/check_dig.c.orig 2014-03-04 21:41:57 UTC
+--- plugins/check_dig.c.orig 2015-07-30 21:40:06 UTC
+++ plugins/check_dig.c
@@ -94,8 +94,8 @@ main (int argc, char **argv)
timeout_interval_dig = ceil((double) timeout_interval / (double) number_tries);
/* get the command to run */
-- xasprintf (&command_line, "%s @%s -p %d %s -t %s %s %s +tries=%d +time=%d",
-- PATH_TO_DIG, dns_server, server_port, query_address, record_type, dig_args, query_transport, number_tries, timeout_interval_dig);
+- xasprintf (&command_line, "%s %s %s -p %d @%s %s %s +tries=%d +time=%d",
+- PATH_TO_DIG, dig_args, query_transport, server_port, dns_server, query_address, record_type, number_tries, timeout_interval_dig);
+ xasprintf (&command_line, "%s %s @%s -z -p %d %s %s %s",
+ PATH_TO_DIG, dig_args, dns_server, server_port, query_transport, query_address, record_type);