]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
quiet some debug messages
authorNTP Release Engineering <stenn@ntp.org>
Wed, 4 Mar 2020 01:09:57 +0000 (17:09 -0800)
committerNTP Release Engineering <stenn@ntp.org>
Wed, 4 Mar 2020 01:09:57 +0000 (17:09 -0800)
bk: 5e5effe5np1wKP-KzS2THVeOpeMDMg

ntpd/ntp_config.c
ntpd/ntp_peer.c

index 28c704509c72dac2b2bf68055b40f4309bec2095..ee9df318a630a46378ee6846b3054dab68bd19db 100644 (file)
@@ -4204,8 +4204,6 @@ peerflag_bits(
                case T_Xmtnonce:
                        if (   MODE_CLIENT == hmode ) {
                                peerflags |= FLAG_LOOPNONCE;
-                       } else {
-DPRINTF(0, ("Xmtnonce: mode %d, srcaddr <%s>\n", hmode, pn->addr->address));
                        }
                        break;
                }
index 71c09368339897d93c31b5cb621ed153d51a2fb2..c1716ffe0d83b2d16e51adb1a683729de87ce67b 100644 (file)
@@ -844,11 +844,13 @@ newpeer(
                return NULL;
        }
 
+#if 0
 DPRINTF(1, ("newpeer(%s) found no existing and %d other associations\n",
                (hostname)
                    ? hostname
                    : stoa(srcadr),
                ip_count));
+#endif
 
        /* Check ippeerlimit wrt ip_count */
        if (ippeerlimit > -1) {