summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-09 12:13:37 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-13 10:41:28 -0400
commitdad12188a6ca957f6fde1eb602fd98b2fa93b1a4 (patch)
treeac7c2d4d5e1ff39675df1bc3723b57ec453b4b92 /src/or/config.c
parentc55c8f0d4926481ea2cf49e14915688de2eb4938 (diff)
downloadtor-dad12188a6ca957f6fde1eb602fd98b2fa93b1a4.tar.gz
tor-dad12188a6ca957f6fde1eb602fd98b2fa93b1a4.zip
Write automatically-chosen control ports to a file.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index b06c8c95c3..5eb62291bc 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -206,6 +206,7 @@ static config_var_t _option_vars[] = {
V(ContactInfo, STRING, NULL),
V(ControlListenAddress, LINELIST, NULL),
V(ControlPort, PORT, "0"),
+ V(ControlPortWriteToFile, FILENAME, NULL),
V(ControlSocket, LINELIST, NULL),
V(CookieAuthentication, BOOL, "0"),
V(CookieAuthFileGroupReadable, BOOL, "0"),