<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>Eric S. Raymond pushed to branch master at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a></h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/b161edd5d19750d899a9240a1dabb15813de7dd3">b161edd5</a></strong>
<div>
<span>by Eric S. Raymond</span>
<i>at 2015-12-13T07:13:26Z</i>
</div>
<pre class='commit-message'>First partial replay success.</pre>
</li>
</ul>
<h4>2 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
ntpd/ntp_intercept.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
ntpd/ntpd.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/b161edd5d19750d899a9240a1dabb15813de7dd3#diff-0'>
<strong>
ntpd/ntp_intercept.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/ntp_intercept.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/ntp_intercept.c
</span><span style="color: #aaaaaa">@@ -274,9 +274,9 @@ void intercept_get_systime(const char *legend, l_fp *now)
</span>       fprintf(stderr, "ntpd: garbled systime format, line %d\n", lineno);
            exit(1);
        }
<span style="color: #000000;background-color: #ffdddd">-        else if (strcmp(legend, expecting) == 0) {
-           fprintf(stderr, "ntpd: expected systime %s on line %d\n",
-                   expecting, lineno);
</span><span style="color: #000000;background-color: #ddffdd">+   else if (strcmp(legend, expecting) != 0) {
+           fprintf(stderr, "ntpd: expected systime %s on line %d but saw %s\n",
+                   expecting, lineno, legend);
</span>       exit(1);
        }
        ts.tv_sec = sec;
<span style="color: #aaaaaa">@@ -307,9 +307,9 @@ long intercept_ntp_random(const char *legend)
</span>       fprintf(stderr, "ntpd: garbled random format, line %d\n", lineno);
            exit(1);
        }
<span style="color: #000000;background-color: #ffdddd">-        else if (strcmp(legend, expecting) == 0) {
-           fprintf(stderr, "ntpd: expected random %s on line %d\n",
-                   expecting, lineno);
</span><span style="color: #000000;background-color: #ddffdd">+   else if (strcmp(legend, expecting) != 0) {
+           fprintf(stderr, "ntpd: expected random %s from line %d but saw %s\n",
+                   expecting, lineno, legend);
</span>       exit(1);
        }
        return roll;
</code></pre>

<br>
</li>
<li id='diff-1'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/b161edd5d19750d899a9240a1dabb15813de7dd3#diff-1'>
<strong>
ntpd/ntpd.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/ntpd.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/ntpd.c
</span><span style="color: #aaaaaa">@@ -616,7 +616,7 @@ ntpdmain(
</span>   isc_error_setunexpected(library_unexpected_error);
 
        uid = getuid();
<span style="color: #000000;background-color: #ffdddd">-        if (uid && !saveconfigquit && !dumpopts) {
</span><span style="color: #000000;background-color: #ddffdd">+   if (uid && intercept_get_mode() != replay && !saveconfigquit && !dumpopts) {
</span>           termlogit = true;
                msyslog(LOG_ERR,
                        "must be run as root, not uid %ld", (long)uid);
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://gitlab.com/NTPsec/ntpsec/commit/b161edd5d19750d899a9240a1dabb15813de7dd3">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.com/NTPsec/ntpsec/commit/b161edd5d19750d899a9240a1dabb15813de7dd3"}}</script>
</p>
</div>
</body>
</html>