From 06cbd28a8803f79ee46baf228b998ff7482ec318 Mon Sep 17 00:00:00 2001 From: Chris Kuethe Date: Mon, 9 Jun 2008 16:37:36 +0000 Subject: Allow outgoing replies from sensor-driven servers to have a user-configurable reference ID, eg. "GPS" or "DCF"... ok mbalmer --- usr.sbin/ntpd/ntpd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.sbin/ntpd/ntpd.h') 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 @@ -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; }; -- cgit v1.2.3