From: Juergen Perlinger Date: Sat, 4 Apr 2020 06:48:51 +0000 (+0200) Subject: [Bug 3657] Wrong "Autokey group mismatch" debug message X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=657f31f05929945e528e0bf274f9ede506d9abcb;p=thirdparty%2Fntp.git [Bug 3657] Wrong "Autokey group mismatch" debug message bk: 5e882dd3mUpUKvY8mhiszxV9dkgwgQ --- diff --git a/ChangeLog b/ChangeLog index 35d5d36c2..46f98936a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +--- +* [Bug 3657] Wrong "Autokey group mismatch" debug message + --- (4.2.8p14) 2020/03/03 Released by Harlan Stenn diff --git a/ntpd/ntp_proto.c b/ntpd/ntp_proto.c index 33e97ef9d..f7a5d5c5d 100644 --- a/ntpd/ntp_proto.c +++ b/ntpd/ntp_proto.c @@ -1681,8 +1681,9 @@ receive( * MODE_ACTIVE KoDs, which will time out eventually. */ if ( hisleap != LEAP_NOTINSYNC - && (hisstratum < sys_floor || hisstratum >= sys_ceiling)) { - DPRINTF(2, ("receive: AM_NEWPASS drop: Autokey group mismatch\n")); + && (hisstratum < sys_floor || hisstratum >= sys_ceiling)) { + DPRINTF(2, ("receive: AM_NEWPASS drop: Remote stratum (%d) out of range\n", + hisstratum)); sys_declined++; return; /* no help */ }