Changed defined? to has_variable? from ntp.conf template.
This commit is contained in:
parent
974f6ce671
commit
9d069e29fa
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 defined?("ntp_client_networks") -%>
|
||||
<% if has_variable?("ntp_client_networks") -%>
|
||||
|
||||
# Restrictions for clients using us as source.
|
||||
<% ntp_client_networks.each do |net| -%>
|
||||
|
|
Loading…
Add table
Reference in a new issue