Skip to content

Commit

Permalink
correct naming
Browse files Browse the repository at this point in the history
  • Loading branch information
b4ldr committed Jun 8, 2016
1 parent 6115aa7 commit eccce1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/etc/knot/knot.server.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ remotes {
<%- end -%>
<%- if @slave_addresses -%>
<%- @slave_addresses.each_pair do |iface, key| -%>
<%= key %><%- if iface.include? ':' then -%>-v6<%- else -%>-v4<%- end -%> {
<%= key %><%- if iface.include? ':' then -%>v6<%- else -%>v4<%- end -%> {
address <%= iface %>;
port 53;
key <%= key %>;
Expand All @@ -72,7 +72,7 @@ remotes {
groups {
global-slaves {
<%- @slave_addresses.each_with_index do |(iface, key), index| -%>
<%= key %><%- if iface.include? ':' then -%>-v6<%- else -%>-v4<%- end -%><%- if index + 1 < @slave_addresses.length %>,<%- end %>
<%= key %><%- if iface.include? ':' then -%>v6<%- else -%>v4<%- end -%><%- if index + 1 < @slave_addresses.length %>,<%- end %>
<%- end -%>
}
}
Expand Down

0 comments on commit eccce1c

Please sign in to comment.