[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r8321: patch from tup (tor/trunk/src/or)



Author: arma
Date: 2006-09-05 10:30:06 -0400 (Tue, 05 Sep 2006)
New Revision: 8321

Modified:
   tor/trunk/src/or/config.c
Log:
patch from tup


Modified: tor/trunk/src/or/config.c
===================================================================
--- tor/trunk/src/or/config.c	2006-09-03 20:19:35 UTC (rev 8320)
+++ tor/trunk/src/or/config.c	2006-09-05 14:30:06 UTC (rev 8321)
@@ -2073,6 +2073,9 @@
   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.");