summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/sensors.c
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2008-06-10 03:46:10 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2008-06-10 03:46:10 +0000
commit2cfc51272e42f900535e789491b04ac34dd5125f (patch)
tree035f7d6d1d293e2d12ea7768ebad4d76f432a8bc /usr.sbin/ntpd/sensors.c
parentfeaa668f73c2ceb6477df152becd63debd7d1edc (diff)
According to the latest SNTPv4 spec in RFC4330, secondary servers
return the address of the synchronization source as reference identification. Remove the obsolete special casing specified in RFC2030. ok henning@
Diffstat (limited to 'usr.sbin/ntpd/sensors.c')
-rw-r--r--usr.sbin/ntpd/sensors.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/sensors.c b/usr.sbin/ntpd/sensors.c
index 0307681fbc0..e8f3a6185fe 100644
--- a/usr.sbin/ntpd/sensors.c
+++ b/usr.sbin/ntpd/sensors.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sensors.c,v 1.39 2008/06/09 18:30:48 deraadt Exp $ */
+/* $OpenBSD: sensors.c,v 1.40 2008/06/10 03:46:09 naddy Exp $ */
/*
* Copyright (c) 2006 Henning Brauer <henning@openbsd.org>
@@ -191,7 +191,6 @@ sensor_query(struct ntp_sensor *s)
s->offsets[s->shift].good = 1;
s->offsets[s->shift].status.refid = s->refid;
- s->offsets[s->shift].status.refid4 = s->refid;
s->offsets[s->shift].status.stratum = 0; /* increased when sent out */
s->offsets[s->shift].status.rootdelay = 0;
s->offsets[s->shift].status.rootdispersion = 0;