Fixed ntpd.conf template when ntp_client_networks is undefined
This commit is contained in:
parent
e2f086a7af
commit
fe0438e843
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ server <%= server %>
|
|||
server 127.127.1.0
|
||||
fudge 127.127.1.0 stratum 10
|
||||
<% end -%>
|
||||
<% if ntp_client_networks -%>
|
||||
<% if defined?("ntp_client_networks") -%>
|
||||
|
||||
# Restrictions for clients using us as source.
|
||||
<% ntp_client_networks.each do |net| -%>
|
||||
|
|
Loading…
Add table
Reference in a new issue