diff options
author | Roger Dingledine <arma@torproject.org> | 2006-09-05 14:30:06 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-09-05 14:30:06 +0000 |
commit | 585ae267836326b50d33372f0129bc6fac1d1ad5 (patch) | |
tree | 5f36deb1929e9dc9a507c4dc08b13516fc9098c5 /src/or/config.c | |
parent | 4b8f9780be5ea0037ad2febb75ae5e32e14aff25 (diff) | |
download | tor-585ae267836326b50d33372f0129bc6fac1d1ad5.tar.gz tor-585ae267836326b50d33372f0129bc6fac1d1ad5.zip |
patch from tup
svn:r8321
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index fd480a839d..29f41ee3bb 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -2073,6 +2073,9 @@ options_validate(or_options_t *old_options, or_options_t *options, if (options->ControlPort == 0 && options->ControlListenAddress != NULL) REJECT("ControlPort must be defined if ControlListenAddress is defined."); + if (options->TransPort == 0 && options->TransListenAddress != NULL) + REJECT("TransPort must be defined if TransListenAddress is defined."); + #if 0 /* don't complain, since a standard configuration does this! */ if (options->SocksPort == 0 && options->SocksListenAddress != NULL) REJECT("SocksPort must be defined if SocksListenAddress is defined."); |