From f86997185e86a40c6a62ac5b635ee66c85daaaaa Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Fri, 31 Aug 2012 15:54:26 +0200 Subject: [PATCH] Give the frequency estimation interval to the port as well. Signed-off-by: Richard Cochran --- config.c | 4 +++- ds.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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