Added support for setting network addresses from where clients can query time.

This commit is contained in:
Timo Mkinen 2012-01-03 15:54:30 +02:00
parent 1a8c48db00
commit 42b916a783
2 changed files with 11 additions and 0 deletions

View file

@ -26,3 +26,10 @@ server <%= server %>
server 127.127.1.0
fudge 127.127.1.0 stratum 10
<% end -%>
<% if ntp_client_networks -%>
# Restrictions for clients using us as source.
<% ntp_client_networks.each do |net| -%>
restrict <%= net.split("/")[0] %> mask <%= net.split("/")[1] %> nomodify notrap
<% end -%>
<% end -%>