]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Change ignore packet message to only print if debug > 3
authorDanny Mayer <mayer@ntp.org>
Fri, 1 Apr 2005 02:57:56 +0000 (21:57 -0500)
committerDanny Mayer <mayer@ntp.org>
Fri, 1 Apr 2005 02:57:56 +0000 (21:57 -0500)
bk: 424cb8b4v5ZxsoBSEbfoFs1F_MKnrw

ntpd/ntp_io.c

index da5ec4e52a3d505c0e4f8d40fd92bfdc1154da59..ebfcf80b98df4450196b9cc5e072d2cafdb29416 100644 (file)
@@ -2068,7 +2068,7 @@ input_handler(
                                        (void) recvfrom(fd, buf, sizeof(buf), 0,
                                                        (struct sockaddr*)&from, &fromlen);
 #ifdef DEBUG
-                                       if (debug)
+                                       if (debug > 3)
                                            printf("%s on %d(%lu) fd=%d from %s\n",
                                            (inter_list[i].ignore_packets == ISC_TRUE) ? "ignore" : "drop",
                                             i, free_recvbuffs(), fd,