summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-06-03 21:39:24 +0000
committerNick Mathewson <nickm@torproject.org>2007-06-03 21:39:24 +0000
commit147e439c942175c7e2e576ed8bd6bcbb33c05fb9 (patch)
tree6ecf2bf90c4827f535be79ac8200deee5529609a /src/or
parent2b054774a5dadc53c20b9ceabd4ad729dc8ac805 (diff)
downloadtor-147e439c942175c7e2e576ed8bd6bcbb33c05fb9.tar.gz
tor-147e439c942175c7e2e576ed8bd6bcbb33c05fb9.zip
r13174@catbus: nickm | 2007-06-03 17:39:20 -0400
Patch from robert hogan: avoid crash when DNS port is set more than once. svn:r10471
Diffstat (limited to 'src/or')
-rw-r--r--src/or/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 1cfe419f52..47f8c8bbed 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -2642,6 +2642,7 @@ assert_connection_ok(connection_t *conn, time_t now)
case CONN_TYPE_AP_NATD_LISTENER:
case CONN_TYPE_DIR_LISTENER:
case CONN_TYPE_CONTROL_LISTENER:
+ case CONN_TYPE_AP_DNS_LISTENER:
tor_assert(conn->state == LISTENER_STATE_READY);
break;
case CONN_TYPE_OR: