Skip to content

Commit

Permalink
outgoing_port_permit_first: update to actually invert order
Browse files Browse the repository at this point in the history
Currently this parameter has no effect.  This PR updates the code so the
order of the values is actually inverted

fixes #313
  • Loading branch information
b4ldr committed Aug 29, 2024
1 parent 2c7528f commit 3b80c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/unbound.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ server:
<%= print_config('outgoing-port-permit', @outgoing_port_permit) -%>
<%= print_config('outgoing-port-avoid', @outgoing_port_avoid) -%>
<%- else -%>
<%= print_config('outgoing-port-permit', @outgoing_port_avoid) -%>
<%= print_config('outgoing-port-avoid', @outgoing_port_permit) -%>
<%= print_config('outgoing-port-permit', @outgoing_port_avoid) -%>
<%- end -%>
<%= print_config('outgoing-num-tcp', @outgoing_num_tcp) -%>
<%= print_config('incoming-num-tcp', @incoming_num_tcp) -%>
Expand Down

0 comments on commit 3b80c81

Please sign in to comment.