summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-06-05 20:54:49 +0000
committerNick Mathewson <nickm@torproject.org>2007-06-05 20:54:49 +0000
commit210beff55a17643d54c0d7142d9662a97d8fd51d (patch)
tree7457ff86164ff36dc8df3e0a14c6abf4998d76f8 /src/or/directory.c
parentf0345d46f6372a56c586a05d1a714473eaeccc27 (diff)
downloadtor-210beff55a17643d54c0d7142d9662a97d8fd51d.tar.gz
tor-210beff55a17643d54c0d7142d9662a97d8fd51d.zip
r13266@catbus: nickm | 2007-06-05 16:38:08 -0400
Patch from peter palfrader: control interface via unix domain socket svn:r10504
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 3ef2a2233e..03acbfe2c3 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -490,7 +490,7 @@ directory_initiate_command(const char *address, uint32_t addr,
tor_assert(0);
}
- conn = TO_DIR_CONN(connection_new(CONN_TYPE_DIR));
+ conn = TO_DIR_CONN(connection_new(CONN_TYPE_DIR, AF_INET));
/* set up conn so it's got all the data we need to remember */
conn->_base.addr = addr;