OpenNTPD daemon with OpenSSL implementation & flexible configurability
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
537 B

  1. From: Pekka Helenius <fincer89@hotmail.com>
  2. Date: Tue, 04 Aug 2020 01:52:13 +0300
  3. Subject: Fix debug mode not showing output in command line
  4. --- a/src/ntpd.c 2020-08-03 23:30:09.431955200 +0300
  5. +++ b/src/ntpd.c 2020-08-03 23:29:45.150837701 +0300
  6. @@ -195,12 +195,14 @@ main(int argc, char *argv[])
  7. switch (ch) {
  8. case 'd':
  9. lconf.debug = 1;
  10. + lconf.verbose = 2;
  11. break;
  12. case 'f':
  13. conffile = optarg;
  14. break;
  15. case 'n':
  16. lconf.debug = 1;
  17. + lconf.verbose = 2;
  18. lconf.noaction = 1;
  19. break;
  20. case 'P':