[Git][NTPsec/ntpsec][master] Address GitLab issue #255: updateinterval option appears to be broken

Eric S. Raymond gitlab at mg.gitlab.com
Tue Mar 28 21:47:01 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
45c45273 by Eric S. Raymond at 2017-03-28T17:46:50-04:00
Address GitLab issue #255: updateinterval option appears to be broken

- - - - -


1 changed file:

- ntpd/ntpd.c


Changes:

=====================================
ntpd/ntpd.c
=====================================
--- a/ntpd/ntpd.c
+++ b/ntpd/ntpd.c
@@ -351,7 +351,7 @@ parse_cmdline_opts(
 		break;
 	    case 'U':
 		{
-		    long val = atol(argv[ntp_optind]);
+		    long val = atol(ntp_optarg);
 
 		    if (val >= 0)
 			    interface_interval = (int)val;



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/45c45273fded583629c042b5dfb78a482f2b1c13
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170328/48ceacbc/attachment.html>


More information about the vc mailing list