From 7f3e2378b64f07f1bcebf80f7846a6580c29786a Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 25 Jul 2007 22:57:07 +0000 Subject: r13908@catbus: nickm | 2007-07-25 18:55:47 -0400 Patch from Robert Hogan: set conn->dns_server_port correctly so that we can close dns server ports when they change, thus avoiding crashes and dangling references and other sources of unhappiness. svn:r10933 --- src/or/connection.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/connection.c') diff --git a/src/or/connection.c b/src/or/connection.c index 4c555fc46..a0210b931 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -2423,6 +2423,7 @@ connection_is_listener(connection_t *conn) if (conn->type == CONN_TYPE_OR_LISTENER || conn->type == CONN_TYPE_AP_LISTENER || conn->type == CONN_TYPE_AP_TRANS_LISTENER || + conn->type == CONN_TYPE_AP_DNS_LISTENER || conn->type == CONN_TYPE_AP_NATD_LISTENER || conn->type == CONN_TYPE_DIR_LISTENER || conn->type == CONN_TYPE_CONTROL_LISTENER) -- cgit v1.2.3