]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Update the peer->stratum.
authorHarlan Stenn <stenn@ntp.org>
Wed, 1 May 2002 01:32:55 +0000 (21:32 -0400)
committerHarlan Stenn <stenn@ntp.org>
Wed, 1 May 2002 01:32:55 +0000 (21:32 -0400)
Bugfix from Dave Mills.

bk: 3ccf45c7RDSCI616CUG48aEEF5OYpQ

ntpd/refclock_local.c

index 7098c5a634e5b578d4a8d536f9fd188b28b89301..a79b12c9ff3b12c0755ed9927fb0468ae6e262ad 100644 (file)
@@ -160,6 +160,7 @@ local_start(
         * Initialize miscellaneous variables
         */
        peer->precision = sys_precision;
+       peer->stratum = STRATUM;
        pp->stratum = STRATUM;
        pp->clockdesc = DESCRIPTION;
        memcpy((char *)&pp->refid, REFID, 4);