[Nagiosplug-checkins] nagiosplug/plugins-scripts utils.pm.in, 1.11, 1.12
Ton Voon
tonvoon at users.sourceforge.net
Tue Dec 12 09:56:03 CET 2006
- Previous message: [Nagiosplug-checkins] nagiosplug/plugins check_disk.c, 1.79, 1.80 check_swap.c, 1.56, 1.57 common.h, 1.24, 1.25 netutils.h, 1.16, 1.17
- Next message: [Nagiosplug-checkins] nagiosplug/plugins-scripts/t utils.t, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/nagiosplug/nagiosplug/plugins-scripts
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv9270
Modified Files:
utils.pm.in
Log Message:
Allow single characters in fqdn (Dave Alden)
Index: utils.pm.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/utils.pm.in,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- utils.pm.in 27 Oct 2006 15:37:31 -0000 1.11
+++ utils.pm.in 12 Dec 2006 08:56:01 -0000 1.12
@@ -60,7 +60,7 @@
} else {
return 0;
}
- } elsif ($host1 =~ m/^[a-zA-Z0-9][-a-zA-Z0-9]+(\.[a-zA-Z0-9][-a-zA-Z0-9]+)*\.?$/) {
+ } elsif ($host1 =~ m/^[a-zA-Z0-9][-a-zA-Z0-9]*(\.[a-zA-Z0-9][-a-zA-Z0-9]*)*\.?$/) {
return 1;
} else {
return 0;
- Previous message: [Nagiosplug-checkins] nagiosplug/plugins check_disk.c, 1.79, 1.80 check_swap.c, 1.56, 1.57 common.h, 1.24, 1.25 netutils.h, 1.16, 1.17
- Next message: [Nagiosplug-checkins] nagiosplug/plugins-scripts/t utils.t, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list