From 4f13ce12a5ed92b082d883e7a30eef1cd4a0500d Mon Sep 17 00:00:00 2001 From: amontero Date: Mon, 15 Jul 2013 20:13:24 +0200 Subject: Fix ExitPolicyRejectPrivate not being omitted if set to 1. ( duritong/puppet-tor#5 ) --- templates/torrc.exit_policy.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/torrc.exit_policy.erb b/templates/torrc.exit_policy.erb index 92367c2..65f9d09 100644 --- a/templates/torrc.exit_policy.erb +++ b/templates/torrc.exit_policy.erb @@ -1,5 +1,5 @@ # exit policies: <%= name %> -<%- if reject_private != 1 then -%> +<%- if reject_private != '1' then -%> ExitPolicyRejectPrivate <%= reject_private %> <%- end -%> <%- for policy in accept -%> -- cgit v1.2.3