X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Frrd_restore.c;h=68a037fe6139f1daf949c1489a83dc3e8c08340d;hb=51fcea2cbf9721f012f2f0d43c604a3aaf684ee8;hp=368f7bcfbb041ee6de6d4ead1ce5a2d414351114;hpb=2a6a270edfda89b04722b42b57992907f871c671;p=rrdtool.git diff --git a/src/rrd_restore.c b/src/rrd_restore.c index 368f7bc..68a037f 100644 --- a/src/rrd_restore.c +++ b/src/rrd_restore.c @@ -366,6 +366,7 @@ int xml2rrd( } else { switch (cf_conv(rrd->rra_def[rra_index].cf_nam)) { case CF_HWPREDICT: + case CF_MHWPREDICT: read_tag(&ptr2, "hw_alpha", "%lf", &(rrd->rra_def[rra_index].par[RRA_hw_alpha]. u_val)); @@ -456,6 +457,7 @@ int xml2rrd( i].scratch[CDP_secondary_val].u_val)); switch (cf_conv(rrd->rra_def[rra_index].cf_nam)) { case CF_HWPREDICT: + case CF_MHWPREDICT: read_tag(&ptr2, "intercept", "%lf", &(rrd-> cdp_prep[rrd->stat_head->ds_cnt *