summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-04-18 04:57:35 +0000
committerNick Mathewson <nickm@torproject.org>2006-04-18 04:57:35 +0000
commit0cbb04a48994be919ff6037051c9ca849de01660 (patch)
tree331085a4559bf96cf0a64c7277cf3bc76c6466ce /src/or
parentd6194bd9db1a31e90f39281103439486447eb6ab (diff)
downloadtor-0cbb04a48994be919ff6037051c9ca849de01660.tar.gz
tor-0cbb04a48994be919ff6037051c9ca849de01660.zip
[backport] require at least 2**16 assignable virtual addresses
svn:r6403
Diffstat (limited to 'src/or')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 82f3eb0d49..94f1b0b1c6 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -792,13 +792,11 @@ parse_virtual_addr_network(const char *val, int validate_only,
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;