summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-04-28 18:14:50 -0400
committerNick Mathewson <nickm@torproject.org>2011-04-28 18:14:50 -0400
commitf38ecd5ac0f21d25c838be6004925372d26a45aa (patch)
tree7a546ec921e6a79d2d5cf94d7e92039f2c5bd670 /src/or/router.c
parent8b33928676bdf751010e5d660e6e6cca9a152389 (diff)
parent30003e43180561eb92f4146d3bf2a5f74523cda6 (diff)
downloadtor-f38ecd5ac0f21d25c838be6004925372d26a45aa.tar.gz
tor-f38ecd5ac0f21d25c838be6004925372d26a45aa.zip
Merge remote-tracking branch 'origin/maint-0.2.2'
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 8edbb47058..820ee1e1d0 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -1112,10 +1112,10 @@ set_server_advertised(int s)
int
proxy_mode(or_options_t *options)
{
- return (options->SocksPort != 0 || options->SocksListenAddress ||
- options->TransPort != 0 || options->TransListenAddress ||
- options->NATDPort != 0 || options->NATDListenAddress ||
- options->DNSPort != 0 || options->DNSListenAddress);
+ return (options->SocksPort != 0 ||
+ options->TransPort != 0 ||
+ options->NATDPort != 0 ||
+ options->DNSPort != 0);
}
/** Decide if we're a publishable server. We are a publishable server if: