From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/163415-diff-check_dns | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 web/attachments/163415-diff-check_dns (limited to 'web/attachments/163415-diff-check_dns') diff --git a/web/attachments/163415-diff-check_dns b/web/attachments/163415-diff-check_dns new file mode 100644 index 0000000..1c1beb2 --- /dev/null +++ b/web/attachments/163415-diff-check_dns @@ -0,0 +1,13 @@ +*** check_dns.c.orig Sun Jan 15 10:30:55 2006 +--- check_dns.c Sun Jan 15 10:55:07 2006 +*************** +*** 173,178 **** +--- 173,179 ---- + + /* If we got here, we should have an address string, + and we can segfault if we do not */ ++ strip(address); + if (address==NULL || strlen(address)==0) + die (STATE_CRITICAL, + _("DNS CRITICAL - '%s' output parsing exited with no address\n"), + -- cgit v1.2.3-74-g34f1