From: Danny Mayer Date: Sat, 13 Nov 2004 01:39:57 +0000 (-0500) Subject: Add debugging information X-Git-Tag: NTP_4_2_0B_RC1~193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f2b855224b06bb1526cbcdf7b1896e7a562bb34;p=thirdparty%2Fntp.git Add debugging information bk: 419565edxfvYx2KrRDU09pGxWL-hig --- diff --git a/ntpd/ntp_proto.c b/ntpd/ntp_proto.c index 091fe79e82..f34f071313 100644 --- a/ntpd/ntp_proto.c +++ b/ntpd/ntp_proto.c @@ -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; }