[Git][NTPsec/ntpsec][master] Fix a brain fart. Thanks to Hal for pointing it out.
Gary E. Miller
gitlab at mg.gitlab.com
Tue Sep 27 23:07:40 UTC 2016
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
302985e9 by Gary E. Miller at 2016-09-27T16:06:53-07:00
Fix a brain fart. Thanks to Hal for pointing it out.
- - - - -
1 changed file:
- ntpd/ntp_peer.c
Changes:
=====================================
ntpd/ntp_peer.c
=====================================
--- a/ntpd/ntp_peer.c
+++ b/ntpd/ntp_peer.c
@@ -764,7 +764,7 @@ newpeer(
if (NTP_MAXPOLL_UNK == maxpoll)
/* not set yet, set to default */
- peer->maxpoll = NTP_MAXDPOLL;
+ maxpoll = NTP_MAXDPOLL;
/*
* minpoll is clamped not greater than NTP_MAXPOLL
* maxpoll is clamped not less than NTP_MINPOLL
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/302985e932225a096e8980e28a28d3918e0250b6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160927/0db30022/attachment.html>
More information about the vc
mailing list