]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
The new config code missed an #ifdef for building without refclocks
authorHarlan Stenn <stenn@ntp.org>
Sun, 13 May 2007 07:42:41 +0000 (03:42 -0400)
committerHarlan Stenn <stenn@ntp.org>
Sun, 13 May 2007 07:42:41 +0000 (03:42 -0400)
bk: 4646c171EckodVEjdJvhsclHZ42P_Q

ChangeLog
ntpd/ntp_config.c

index d247a1ecd3e65dc19475f392f0c216524077d8cf..f0966b744a4e299ef0e53aa3811cbca42e1c48ad 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* The new config code missed an #ifdef for building without refclocks.
 * Distribute some files needed by the new config parsing code.
 * [Bug 819] Timeout for WaitForMultipleObjects was 500ms instead of INFINITE
 * Use autogen 5.9.1.
index 4ef28d2d50044c542028e8c5719e394f49743038..5fa0d5b6ba2b233ea49f030b03484e84d487e564 100644 (file)
@@ -1417,9 +1417,13 @@ static void config_fudge(void)
             
             free_node(curr_opt);
         }
+
+#ifdef REFCLOCK
         if (!err_flag)
             refclock_control(&addr_sock, &clock_stat,
                              (struct refclockstat *)0);
+#endif
+
         destroy_queue(curr_fudge->options);
         free_node(curr_fudge);
     }