diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2009-03-04 18:49:08 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2009-03-04 18:49:08 +0000 |
commit | d2570a146290ec305e7a6b5ffd697868f4ce4839 (patch) | |
tree | 52b38b12029b51c2bcb0038693f82057e48263e7 | |
parent | 7708ae5fde66bd76b3c499be93095730da14c2d1 (diff) |
received refid should not be converted to host byte order; ok henning@
-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 0f9ca4b4620..3c06112e67f 100644 --- a/usr.sbin/ntpd/client.c +++ b/usr.sbin/ntpd/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.82 2009/03/04 18:46:44 stevesk Exp $ */ +/* $OpenBSD: client.c,v 1.83 2009/03/04 18:49:07 stevesk Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -279,7 +279,7 @@ client_dispatch(struct ntp_peer *p, u_int8_t settime) p->reply[p->shift].status.precision = msg.precision; 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.refid = msg.refid; p->reply[p->shift].status.reftime = lfp_to_d(msg.reftime); p->reply[p->shift].status.poll = msg.ppoll; p->reply[p->shift].status.stratum = msg.stratum; |