diff options
author | Chris Kuethe <ckuethe@cvs.openbsd.org> | 2008-06-09 16:37:36 +0000 |
---|---|---|
committer | Chris Kuethe <ckuethe@cvs.openbsd.org> | 2008-06-09 16:37:36 +0000 |
commit | 06cbd28a8803f79ee46baf228b998ff7482ec318 (patch) | |
tree | 42f53f5b7de6a649bef8f280c2c84e5dc4eeb91d /usr.sbin/ntpd/ntpd.h | |
parent | b77829a82ea87b9804631ca7a4ff3c3e6d3ac074 (diff) |
Allow outgoing replies from sensor-driven servers to have a
user-configurable reference ID, eg. "GPS" or "DCF"...
ok mbalmer
Diffstat (limited to 'usr.sbin/ntpd/ntpd.h')
-rw-r--r-- | usr.sbin/ntpd/ntpd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ntpd/ntpd.h b/usr.sbin/ntpd/ntpd.h index 2c076fa777b..f438ec5bcf6 100644 --- a/usr.sbin/ntpd/ntpd.h +++ b/usr.sbin/ntpd/ntpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ntpd.h,v 1.92 2008/05/16 06:13:25 ckuethe Exp $ */ +/* $OpenBSD: ntpd.h,v 1.93 2008/06/09 16:37:35 ckuethe Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -140,6 +140,7 @@ struct ntp_sensor { time_t next; time_t last; char *device; + u_int32_t refstr; int sensordevid; int correction; u_int8_t weight; @@ -149,6 +150,7 @@ struct ntp_sensor { struct ntp_conf_sensor { TAILQ_ENTRY(ntp_conf_sensor) entry; char *device; + char *refstr; int correction; u_int8_t weight; }; |