]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
that - never did work anyway (it should have been at the end of the format string)
authorTobias Oetiker <tobi@oetiker.ch>
Thu, 23 Apr 2015 15:14:24 +0000 (17:14 +0200)
committerTobias Oetiker <tobi@oetiker.ch>
Thu, 23 Apr 2015 15:14:24 +0000 (17:14 +0200)
src/rrd_rpncalc.h

index a40e52cd2ef932af843fbc35b2502b153cbbd249..000801019c5d72e0b340b5e119099eace00a464b 100644 (file)
@@ -47,7 +47,7 @@ typedef struct rpn_cdefds_t {
 } rpn_cdefds_t;
 
 #define MAX_VNAME_LEN 255
-#define DEF_NAM_FMT "%255[-_A-Za-z0-9]"
+#define DEF_NAM_FMT "%255[_A-Za-z0-9]"
 
 /* limit imposed by sizeof(rpn_cdefs_t) and rrd.ds_def.par */
 #define DS_CDEF_MAX_RPN_NODES (int)(sizeof(unival)*10 / sizeof(rpn_cdefds_t))