From: Juergen Perlinger Date: Tue, 10 Apr 2018 06:19:44 +0000 (+0200) Subject: [Bug 3474] Missing pmode in mode7 peer info response X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=314825b2df7fd092a80dc327b67b21fe22e9267a;p=thirdparty%2Fntp.git [Bug 3474] Missing pmode in mode7 peer info response bk: 5acc57809MBFDflJJUSXSFI4F7u_Qw --- diff --git a/ChangeLog b/ChangeLog index 8aa54c09a..03a8065c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ - applied patch by Gerry Garvey * [Bug 3479] ctl_putrefid() allows unsafe characters through to ntpq - applied patch by Gerry Garvey (with mods) +* [Bug 3474] Missing pmode in mode7 peer info response + - applied patch by Gerry Garvey * [Bug 3471] Check for openssl/[ch]mac.h. HStenn. - add #define ENABLE_CMAC support in configure. HStenn. * [Bug 3470] ntpd4.2.8p11 fails to compile without OpenSSL diff --git a/ntpd/ntp_request.c b/ntpd/ntp_request.c index e541f7c51..19d9b0d82 100644 --- a/ntpd/ntp_request.c +++ b/ntpd/ntp_request.c @@ -890,6 +890,7 @@ peer_info ( ip->flags |= INFO_FLAG_SHORTLIST; ip->leap = pp->leap; ip->hmode = pp->hmode; + ip->pmode = pp->pmode; ip->keyid = pp->keyid; ip->stratum = pp->stratum; ip->ppoll = pp->ppoll;