summaryrefslogtreecommitdiff
path: root/templates/torrc.transport_plugin.erb
diff options
context:
space:
mode:
authorLouis-Philippe VĂ©ronneau <pollito@riseup.net>2017-11-01 16:31:55 -0400
committerLouis-Philippe VĂ©ronneau <pollito@riseup.net>2017-11-01 16:31:55 -0400
commit1e885d3d5987f4b4cec42e883db5b3f444350c1f (patch)
tree9fdf34fe1276823083b46c659294944cd8ea9829 /templates/torrc.transport_plugin.erb
parent47342c072a8d39d8680b7a9b60ffc5ff674840a1 (diff)
templates are ERB files, not PP
Diffstat (limited to 'templates/torrc.transport_plugin.erb')
-rw-r--r--templates/torrc.transport_plugin.erb13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/torrc.transport_plugin.erb b/templates/torrc.transport_plugin.erb
new file mode 100644
index 0000000..d57f0e8
--- /dev/null
+++ b/templates/torrc.transport_plugin.erb
@@ -0,0 +1,13 @@
+# transport plugin
+<% if @servertransport_plugin != '' -%>
+ServerTransportPlugin <%= @servertransport_plugin %>
+<% end -%>
+<% if @servertransport_listenaddr != '' -%>
+ServerTransportListenAddr <%= @servertransport_listenaddr %>
+<% end -%>
+<% if @servertransport_options != '' -%>
+ServerTransportOptions <%= @servertransport_options %>
+<% end -%>
+<% if @ext_port != '' -%>
+ExtORPort <%= @ext_port %>
+<% end -%>