Added support for setting network addresses from where clients can query time.
This commit is contained in:
parent
1a8c48db00
commit
42b916a783
2 changed files with 11 additions and 0 deletions
|
@ -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 -%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue