summaryrefslogtreecommitdiffstats
path: root/web/attachments/42908-check_dns_freebsd.patch
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
commit0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch)
tree1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/42908-check_dns_freebsd.patch
downloadsite-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files.
Diffstat (limited to 'web/attachments/42908-check_dns_freebsd.patch')
-rw-r--r--web/attachments/42908-check_dns_freebsd.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/web/attachments/42908-check_dns_freebsd.patch b/web/attachments/42908-check_dns_freebsd.patch
new file mode 100644
index 0000000..c856ab9
--- /dev/null
+++ b/web/attachments/42908-check_dns_freebsd.patch
@@ -0,0 +1,14 @@
1--- check_dns.c.orig Wed Feb 19 21:01:54 2003
2+++ check_dns.c Wed Feb 19 21:07:22 2003
3@@ -132,7 +132,10 @@
4 printf ("%s\n", input_buffer);
5
6 if ((temp_buffer = index (input_buffer, ':'))) {
7- address = strscpy (address, temp_buffer + 2);
8+ temp_buffer++;
9+ for(; *temp_buffer != '\0' && *temp_buffer == ' '; temp_buffer++)
10+ /* NOOP */;
11+ address = strscpy (address, temp_buffer);
12 strip (address);
13 result = STATE_OK;
14 }