summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2006-05-27 18:22:05 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2006-05-27 18:22:05 +0000
commit4935fbdf5d5c47f114f9d1b2b6a47dbc7b75a582 (patch)
tree788a8149a9290f2eceebec6ef5b4634562c91b2f /share
parent70afaa5e04789d762c8607cc30bd3a790e0be217 (diff)
When the device is attached, immediately create the timedelta sensor with the
SENSOR_FINVALID flag set and without a description. We do not need a dummy description as a sensor with the FINVALID flags set will not show up or be used anyways. It's merely an indication to applications that there is a sensor that will eventually have a correct value. The SENSOR_FINVALID flag is removed and the description is set to the proper clockname as soon as we have received the first valid time information. This enables ntpd to check for hotplug events and rescan the list of timedelta sensors after a hotplug event. discussed with deraadt.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions