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: Sun, 02 Aug 2020 20:55:36 +0300
  3. Subject: Fix debug mode not showing output in command line
  4. --- a/src/ntpd.c 2020-08-01 13:33:42.000000000 +0300
  5. +++ b/src/ntpd.c 2020-08-01 16:07:32.660248971 +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':