[Git][NTPsec/ntpsec][master] Fix for not building without a refclock

Hal Murray gitlab at mg.gitlab.com
Thu Jun 30 21:22:12 UTC 2016


Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
27b7d2d2 by Hal Murray at 2016-06-30T14:20:05-07:00
Fix for not building without a refclock

- - - - -


1 changed file:

- ntpd/ntp_config.c


Changes:

=====================================
ntpd/ntp_config.c
=====================================
--- a/ntpd/ntp_config.c
+++ b/ntpd/ntp_config.c
@@ -3169,8 +3169,8 @@ config_peers(
 					curr_peer->ttl,
 					curr_peer->peerkey);
 				if (ISREFCLOCKADR(&peeraddr))
-#ifdef REFCLOCK
 				{
+#ifdef REFCLOCK
 					uint8_t clktype;
 					int unit;
 					/*



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/27b7d2d2b3a87334019c8a84d45882d32998e385
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160630/751fb730/attachment.html>


More information about the vc mailing list