diff --git a/src/rrd_graph.c b/src/rrd_graph.c
index 8d21d707380eafccd64473b7e634a396d4b22123..b8952250d1b46f4ce2151ef36acf075bc4014606 100644 (file)
--- a/src/rrd_graph.c
+++ b/src/rrd_graph.c
if (*ptr == '.') ptr++;
while (*ptr >= '0' && *ptr <= '9') ptr++;
- /* Either 'le' or 'lf' must follow here */
+ /* Either 'le', 'lf' or 'lg' must follow here */
if (*ptr++ != 'l') return 1;
- if (*ptr == 'e' || *ptr == 'f') ptr++;
+ if (*ptr == 'e' || *ptr == 'f' || *ptr == 'g') ptr++;
else return 1;
n++;
}