Skip to content

Commit

Permalink
Merge pull request #123 from xaque208/variablefix
Browse files Browse the repository at this point in the history
Fix template variable reference
  • Loading branch information
zachfi committed May 31, 2016
2 parents fe88c70 + 3ac3b94 commit d1912d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/unbound.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ server:
access-control: <%= acc %> allow
<% end -%>
<% end -%>
<% elsif access != '' -%>
<% if access.include? " " -%>
access-control: <%= access %>
<% elsif @access != '' -%>
<% if @access.include? " " -%>
access-control: <%= @access %>
<% else -%>
access-control: <%= access %> allow
access-control: <%= @access %> allow
<% end -%>
<% end -%>
<% if @infra_host_ttl -%>
Expand Down

0 comments on commit d1912d3

Please sign in to comment.