diff --git a/config.c b/config.c index 9c9e407..2c66d6b 100644 --- a/config.c +++ b/config.c @@ -195,8 +195,10 @@ static void scan_global_line(const char *s, struct config *cfg) } else if (1 == sscanf(s, " freq_est_interval %d", &val)) { - if (val >= 0) + if (val >= 0) { dds->freq_est_interval = val; + pod->freq_est_interval = val; + } } else if (1 == sscanf(s, " assume_two_step %u", &val)) { diff --git a/ds.h b/ds.h index 31e6820..630986f 100644 --- a/ds.h +++ b/ds.h @@ -89,6 +89,7 @@ struct port_defaults { UInteger8 transportSpecific; int path_trace_enabled; int follow_up_info; + int freq_est_interval; /*log seconds*/ }; #endif