aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/torrc.control.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/torrc.control.erb b/templates/torrc.control.erb
index 27b8156..6808d5e 100644
--- a/templates/torrc.control.erb
+++ b/templates/torrc.control.erb
@@ -1,7 +1,7 @@
# tor controller
-<%- if control_port != '0' then -%>
-ControlPort <%= control_port %>
+<%- if port != '0' then -%>
+ControlPort <%= port %>
HashedControlPassword <%= hashed_control_password %>
<%- end -%>