]> gitweb.fluxo.info Git - puppet-tor.git/commitdiff
Fix ExitPolicyRejectPrivate not being omitted if set to 1. ( duritong/puppet-tor#5 )
authoramontero <amontero@166637.no-reply.drupal.org>
Mon, 15 Jul 2013 18:13:24 +0000 (20:13 +0200)
committeramontero <amontero@166637.no-reply.drupal.org>
Mon, 15 Jul 2013 18:13:24 +0000 (20:13 +0200)
templates/torrc.exit_policy.erb

index 92367c27d35bb1b307faf3d70523aaa460a5acd8..65f9d098ba0b372e15c146bcfe4603efb48407cf 100644 (file)
@@ -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 -%>