X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_dump.c;h=baf560c721342854342ddc724fe096e66895daed;hb=2f9c0721d1f7e9eceae3d04e197d0e4a46eeb3b1;hp=dadd34d3a2c2bc32164cedffdf944a20631a6b96;hpb=7383625ce0413ce5dbcc0ced4ee4873c6df37735;p=rrdtool.git diff --git a/src/rrd_dump.c b/src/rrd_dump.c index dadd34d..baf560c 100644 --- a/src/rrd_dump.c +++ b/src/rrd_dump.c @@ -197,6 +197,12 @@ int rrd_dump_r( fprintf(out_file, "\t\t %lu \n", rrd.rra_def[i].par[RRA_seasonal_smooth_idx].u_cnt); + if (atoi(rrd.stat_head->version) >= 4) { + fprintf(out_file, + "\t\t %0.10e \n", + rrd.rra_def[i].par[RRA_seasonal_smoothing_window]. + u_val); + } fprintf(out_file, "\t\t %lu \n", rrd.rra_def[i].par[RRA_dependent_rra_idx].u_cnt);