From 3b80c813cd1d23a666c720730e86a478bf1a1bb3 Mon Sep 17 00:00:00 2001 From: jbond Date: Tue, 24 Oct 2023 19:48:58 +0200 Subject: [PATCH] outgoing_port_permit_first: update to actually invert order Currently this parameter has no effect. This PR updates the code so the order of the values is actually inverted fixes #313 --- templates/unbound.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/unbound.conf.erb b/templates/unbound.conf.erb index 49b93e5..cd670e8 100644 --- a/templates/unbound.conf.erb +++ b/templates/unbound.conf.erb @@ -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) -%>