add option "query from <ip>" to ntpd.conf, to specify a local IP
authorbenno <benno@openbsd.org>
Tue, 30 May 2017 23:30:48 +0000 (23:30 +0000)
committerbenno <benno@openbsd.org>
Tue, 30 May 2017 23:30:48 +0000 (23:30 +0000)
commit3e0a6a287c1344f69790f0ea14d5facd7bafcbef
treebda92eb85b2e3e9fa8df12f956e267395ea0c8ab
parente466b42fc76e86e232f5e8ba5162af527a8cee30
add option "query from <ip>" to ntpd.conf, to specify a local IP
address for outgoing ntp queries.
From Job Snijders, thanks!
with feedback and ok henning@
usr.sbin/ntpd/client.c
usr.sbin/ntpd/ntp.c
usr.sbin/ntpd/ntpd.conf.5
usr.sbin/ntpd/ntpd.h
usr.sbin/ntpd/parse.y