summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b0307d7)
raw | patch | inline | side by side (parent: b0307d7)
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Fri, 2 Feb 2007 09:10:22 +0000 (09:10 +0000) | ||
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Fri, 2 Feb 2007 09:10:22 +0000 (09:10 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1605 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_snmp.c | patch | blob | history |
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index d9e007820739c28b53b4d2873a6d832405e0eeec..c43f1efbcbe315c2490dada0f17d6cd43c5a846b 100644 (file)
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
retries = atoi(optarg);
break;
case 'o': /* object identifier */
- if ( strspn( optarg, "0123456789." ) != strlen( optarg ) ) {
+ if ( strspn( optarg, "0123456789.," ) != strlen( optarg ) ) {
/*
- * we have something other than digits and periods, so we
- * have a mib variable, rather than just an SNMP OID, so
- * we have to actually read the mib files
+ * we have something other than digits, periods and comas,
+ * so we have a mib variable, rather than just an SNMP OID,
+ * so we have to actually read the mib files
*/
needmibs = TRUE;
}