aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff')
-rw-r--r--net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff b/net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff
index 8b5633254712..f109621c2749 100644
--- a/net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff
+++ b/net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff
@@ -1,10 +1,10 @@
---- plugins/check_dig.c.orig 2014-11-30 10:36:26 UTC
+--- plugins/check_dig.c.orig 2016-11-29 08:45:08 UTC
+++ plugins/check_dig.c
@@ -94,8 +94,8 @@ main (int argc, char **argv)
timeout_interval_dig = timeout_interval / number_tries + number_tries;
/* get the command to run */
-- xasprintf (&command_line, "%s %s %s -p %d @%s %s %s +tries=%d +time=%d",
+- xasprintf (&command_line, "%s %s %s -p %d @%s %s %s +retry=%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);