]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Add debugging information
authorDanny Mayer <mayer@ntp.org>
Sat, 13 Nov 2004 01:39:57 +0000 (20:39 -0500)
committerDanny Mayer <mayer@ntp.org>
Sat, 13 Nov 2004 01:39:57 +0000 (20:39 -0500)
bk: 419565edxfvYx2KrRDU09pGxWL-hig

ntpd/ntp_proto.c

index 091fe79e82ac531a95cf80f898b6de91631e53de..f34f0713133cb3e2c87bfb5564227a7e0c01bbdb 100644 (file)
@@ -1191,6 +1191,9 @@ process_packet(
                if (debug)
                        printf("packet: bad header %03x\n",
                            peer->flash);
+               if (debug >2)
+                       printf("pstratum = %d, sys_stratum = %d, pmode = %d\n",
+                               pstratum, sys_stratum, pmode);
 #endif
                return;
        }