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/92167-03_hostwithnumbers.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 web/attachments/92167-03_hostwithnumbers.patch (limited to 'web/attachments/92167-03_hostwithnumbers.patch') 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 @@ +diff -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 +--- /home/ultrotter/docs/projects/deb/nagios/nagios-plugins-1.3.1.0/plugins/utils.c 2003-04-23 06:57:08.000000000 +0200 ++++ nagios-plugins-1.3.1.0/plugins/utils.c 2004-06-15 15:35:02.000000000 +0200 +@@ -229,7 +229,7 @@ + /* '..' and '.-' are not legal either */ + while ((s1 = index (s1, '.'))) { + s1++; +- if (strspn (s1, "0123456789-.") == 1) { ++ if (strspn (s1, "-.") == 1) { + return FALSE; + } + } -- cgit v1.2.3-74-g34f1