[or-cvs] require at least 2**16 assignable virtual addresses

Nick Mathewson nickm at seul.org
Tue Apr 18 04:57:09 UTC 2006


Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv8905/src/or

Modified Files:
	connection_edge.c 
Log Message:
require at least 2**16 assignable virtual addresses

Index: connection_edge.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/connection_edge.c,v
retrieving revision 1.395
retrieving revision 1.396
diff -u -p -d -r1.395 -r1.396
--- connection_edge.c	18 Apr 2006 03:51:18 -0000	1.395
+++ connection_edge.c	18 Apr 2006 04:57:07 -0000	1.396
@@ -792,13 +792,11 @@ parse_virtual_addr_network(const char *v
     return -1;
   }
 
-#if 0
   if (bits > 16) {
     if (msg) *msg = tor_strdup("VirtualAddressNetwork expects a class B "
                                "network or larger");
     return -1;
   }
-#endif
 
   if (validate_only)
     return 0;



More information about the tor-commits mailing list