From: Harlan Stenn Date: Wed, 28 May 2003 02:36:50 +0000 (-0400) Subject: Bug 65: ntpdc clockstat reports fudgetime1 twice X-Git-Tag: NTP_4_1_1C_RC3~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=604de65c941848bc8d793b9921144d5d28f9a4e7;p=thirdparty%2Fntp.git Bug 65: ntpdc clockstat reports fudgetime1 twice bk: 3ed420c2enFWqapTIazF5gtN1zvcIA --- diff --git a/ntpd/ntp_request.c b/ntpd/ntp_request.c index 2444081cd..97d67fb7f 100644 --- a/ntpd/ntp_request.c +++ b/ntpd/ntp_request.c @@ -2356,7 +2356,7 @@ get_clock_info( ic->timestarted = htonl((u_int32)clock_stat.timereset); DTOLFP(clock_stat.fudgetime1, <mp); HTONL_FP(<mp, &ic->fudgetime1); - DTOLFP(clock_stat.fudgetime1, <mp); + DTOLFP(clock_stat.fudgetime2, <mp); HTONL_FP(<mp, &ic->fudgetime2); ic->fudgeval1 = htonl((u_int32)clock_stat.fudgeval1); ic->fudgeval2 = htonl((u_int32)clock_stat.fudgeval2);