summaryrefslogtreecommitdiffstats
path: root/web/attachments/92167-03_hostwithnumbers.patch
diff options
context:
space:
mode:
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 }