[Git][NTPsec/ntpsec][master] Fix paste-o in previous commit - mode logging was wrong.

Eric S. Raymond gitlab at mg.gitlab.com
Tue Dec 15 13:32:47 UTC 2015


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


Commits:
adef8d05 by Eric S. Raymond at 2015-12-15T08:32:32Z
Fix paste-o in previous commit - mode logging was wrong.

- - - - -


1 changed file:

- ntpd/ntpd.c


Changes:

=====================================
ntpd/ntpd.c
=====================================
--- a/ntpd/ntpd.c
+++ b/ntpd/ntpd.c
@@ -622,6 +622,17 @@ ntpdmain(
 			"must be run as root, not uid %ld", (long)uid);
 		exit(1);
 	}
+	switch (intercept_get_mode())
+	{
+	case none:
+	    break;
+	case replay:
+	    msyslog(LOG_NOTICE, "setting replay mode.");
+	    break;
+	case capture:
+	    msyslog(LOG_NOTICE, "setting capture mode.");
+	    break;
+	}
 
 # ifdef HAVE_WORKING_FORK
 	if (wait_sync <= 0)



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/adef8d054b33b269ac5f81873845a486867540b2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20151215/294384ba/attachment.html>


More information about the vc mailing list