|
@ -1,4 +1,4 @@ |
|
|
/* $OpenBSD: client.c,v 1.61 2005/06/19 16:42:57 henning Exp $ */ |
|
|
|
|
|
|
|
|
/* $OpenBSD: client.c,v 1.62 2005/07/05 10:09:12 dtucker Exp $ */ |
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
|
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> |
|
|
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> |
|
@ -251,6 +251,7 @@ client_dispatch(struct ntp_peer *p, u_int8_t settime) |
|
|
p->reply[p->shift].status.rootdelay = sfp_to_d(msg.rootdelay); |
|
|
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.rootdispersion = sfp_to_d(msg.dispersion); |
|
|
p->reply[p->shift].status.refid = ntohl(msg.refid); |
|
|
p->reply[p->shift].status.refid = ntohl(msg.refid); |
|
|
|
|
|
p->reply[p->shift].status.refid4 = msg.xmttime.fractionl; |
|
|
p->reply[p->shift].status.reftime = lfp_to_d(msg.reftime); |
|
|
p->reply[p->shift].status.reftime = lfp_to_d(msg.reftime); |
|
|
p->reply[p->shift].status.poll = msg.ppoll; |
|
|
p->reply[p->shift].status.poll = msg.ppoll; |
|
|
p->reply[p->shift].status.stratum = msg.stratum; |
|
|
p->reply[p->shift].status.stratum = msg.stratum; |
|
|