Fixed ntpd.conf template when ntp_client_networks is undefined

This commit is contained in:
Ossi Salmi 2012-01-04 01:34:38 +02:00 committed by Timo Mkinen
parent e2f086a7af
commit fe0438e843

View file

@ -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| -%>