summaryrefslogtreecommitdiffstats
path: root/web/attachments/92167-03_hostwithnumbers.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/92167-03_hostwithnumbers.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/92167-03_hostwithnumbers.patch')
-rw-r--r--web/attachments/92167-03_hostwithnumbers.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/attachments/92167-03_hostwithnumbers.patch b/web/attachments/92167-03_hostwithnumbers.patch
new file mode 100644
index 0000000..f3060bf
--- /dev/null
+++ b/web/attachments/92167-03_hostwithnumbers.patch
@@ -0,0 +1,12 @@
1diff -urNad /home/ultrotter/docs/projects/deb/nagios/nagios-plugins-1.3.1.0/plugins/utils.c nagios-plugins-1.3.1.0/plugins/utils.c
2--- /home/ultrotter/docs/projects/deb/nagios/nagios-plugins-1.3.1.0/plugins/utils.c 2003-04-23 06:57:08.000000000 +0200
3+++ nagios-plugins-1.3.1.0/plugins/utils.c 2004-06-15 15:35:02.000000000 +0200
4@@ -229,7 +229,7 @@
5 /* '..' and '.-' are not legal either */
6 while ((s1 = index (s1, '.'))) {
7 s1++;
8- if (strspn (s1, "0123456789-.") == 1) {
9+ if (strspn (s1, "-.") == 1) {
10 return FALSE;
11 }
12 }