diff --git a/main.c b/main.c index dec753d..afdec05 100644 --- a/main.c +++ b/main.c @@ -144,7 +144,6 @@ post_init_ntp_hook(void *anything) semblence of validity about it. */ SRC_ReloadSources(); } - CNF_SetupAccessRestrictions(); RTC_StartMeasurements(); RCL_StartRefclocks(); @@ -484,6 +483,8 @@ int main /* From now on, it is safe to do finalisation on exit */ initialised = 1; + CNF_SetupAccessRestrictions(); + if (ref_mode == REF_ModeNormal && CNF_GetInitSources() > 0) { ref_mode = REF_ModeInitStepSlew; }