]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
provide get_pollskew() for simulator
authorNTP Release Engineering <stenn@ntp.org>
Wed, 4 Mar 2020 00:05:38 +0000 (16:05 -0800)
committerNTP Release Engineering <stenn@ntp.org>
Wed, 4 Mar 2020 00:05:38 +0000 (16:05 -0800)
bk: 5e5ef0d2NmkE3HzbyDtvXmOflDP9ag

ntpd/ntp_config.c

index 9995663f68e1ae7db8c484993adf9a4b8ed1e2e4..28c704509c72dac2b2bf68055b40f4309bec2095 100644 (file)
@@ -2965,7 +2965,7 @@ config_access(
                }
        }
 
-#if 1
+#if 0
        int p;
        msyslog(LOG_INFO, "Dumping PSL:");
        for (p = 3; p <= 17; ++p) {
@@ -3019,6 +3019,7 @@ attrtopsl(int poll, attr_val *avp)
 
        return;
 } 
+#endif /* !SIM */
 
 
 int
@@ -3040,7 +3041,6 @@ get_pollskew(
 
        /* NOTREACHED */
 }
-#endif /* !SIM */
 
 
 #ifdef FREE_CFG_T