[or-cvs] backport] require at least 2**16 assignable virtual addresses
Nick Mathewson
nickm at seul.org
Tue Apr 18 04:57:37 UTC 2006
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv8982/src/or
Modified Files:
Tag: tor-0_1_1-patches
connection_edge.c
Log Message:
[backport] 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.393.2.2
retrieving revision 1.393.2.3
diff -u -p -d -r1.393.2.2 -r1.393.2.3
--- connection_edge.c 18 Apr 2006 03:50:00 -0000 1.393.2.2
+++ connection_edge.c 18 Apr 2006 04:57:35 -0000 1.393.2.3
@@ -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