From: Tobias Oetiker Date: Thu, 30 Oct 2008 14:32:42 +0000 (+0000) Subject: fix from alex X-Git-Tag: 1.3.5~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eee7d5105e38bab1a7b952cddf455a68992ffb90;p=thirdparty%2Frrdtool-1.x.git fix from alex git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1639 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/doc/cdeftutorial.pod b/doc/cdeftutorial.pod index cced74aa..2cfe5869 100644 --- a/doc/cdeftutorial.pod +++ b/doc/cdeftutorial.pod @@ -617,7 +617,7 @@ numbers (or zero) only. Let's compile the complete CDEF: DEF:ds0=router1.rrd:AVERAGE - CDEF:ds0modified=TIME,begintime,GE,TIME,endtime,LE,*,UNKN,ds0,IF + CDEF:ds0modified=TIME,begintime,GT,TIME,endtime,LE,*,ds0,UNKN,IF This will return the value of ds0 if both comparisons return true. You could also do it the other way around: