diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-10-13 13:35:20 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-10-13 13:35:20 +0000 |
commit | ddbbde3deeecc597257d3bca20e527568b67d4df (patch) | |
tree | 4795ff4db57a1c7697905610946e434a3acdc7ff /usr.sbin/ntpd/client.c | |
parent | 738da7af61a3cdb38f5a28165166978fee069b72 (diff) |
in struct ntp_msg, rename "distance" to "rootdelay" to closer match RFCs
and such
Diffstat (limited to 'usr.sbin/ntpd/client.c')
-rw-r--r-- | usr.sbin/ntpd/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/client.c b/usr.sbin/ntpd/client.c index cc9946b9da1..230b3d7cf39 100644 --- a/usr.sbin/ntpd/client.c +++ b/usr.sbin/ntpd/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.39 2004/10/13 13:19:44 henning Exp $ */ +/* $OpenBSD: client.c,v 1.40 2004/10/13 13:35:19 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -219,7 +219,7 @@ client_dispatch(struct ntp_peer *p, u_int8_t settime) p->reply[p->shift].status.leap = (msg.status & LIMASK) >> 6; p->reply[p->shift].status.precision = msg.precision; - p->reply[p->shift].status.rootdelay = sfp_to_d(msg.distance); + p->reply[p->shift].status.rootdelay = sfp_to_d(msg.rootdelay); p->reply[p->shift].status.rootdispersion = sfp_to_d(msg.dispersion); p->reply[p->shift].status.refid = ntohl(msg.refid); p->reply[p->shift].status.reftime = lfp_to_d(msg.reftime); |