Skip to content

Commit

Permalink
Merge pull request voxpupuli#72 from jearls/do-not-sort-domain-name-s…
Browse files Browse the repository at this point in the history
…ervers

do not sort pool dns servers list
  • Loading branch information
tphoney committed Sep 27, 2015
2 parents b6030f6 + a8182bf commit 61a5514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/dhcpd.pool.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ subnet <%= @network %> netmask <%= @mask %> {
<%= @parameters %>;
<% end -%>
<% if @nameservers and @nameservers.is_a? Array -%>
option domain-name-servers <%= @nameservers.sort.join(', ') %>;
option domain-name-servers <%= @nameservers.join(', ') %>;
<% elsif @nameservers -%>
option domain-name-servers <%= @nameservers %>;
<% end -%>
Expand Down

0 comments on commit 61a5514

Please sign in to comment.