[Git][NTPsec/ntpsec][master] More magic-address emancipation.
Eric S. Raymond
gitlab at mg.gitlab.com
Sun Jul 10 00:16:52 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
ccf549eb by Eric S. Raymond at 2016-07-09T20:16:38-04:00
More magic-address emancipation.
- - - - -
1 changed file:
- ntpd/ntp_config.c
Changes:
=====================================
ntpd/ntp_config.c
=====================================
--- a/ntpd/ntp_config.c
+++ b/ntpd/ntp_config.c
@@ -2820,13 +2820,6 @@ config_fudge(
stoa(&addr_sock));
}
- if (!ISREFCLOCKADR(&addr_sock)) {
- err_flag = 1;
- msyslog(LOG_ERR,
- "inappropriate address %s for the fudge command, line ignored",
- stoa(&addr_sock));
- }
-
/* Parse all the options to the fudge command */
ZERO(clock_stat);
curr_opt = HEAD_PFIFO(curr_fudge->options);
@@ -3028,7 +3021,7 @@ is_sane_resolved_address(
int hmode
)
{
- if (!ISREFCLOCKADR(peeraddr) && ISBADADR(peeraddr)) {
+ if (ISBADADR(peeraddr)) {
msyslog(LOG_ERR,
"attempt to configure invalid address %s",
stoa(peeraddr));
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/ccf549eb79f81f5e7f93c239c27c22a12e10e0ba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160710/c2654c5f/attachment.html>
More information about the vc
mailing list