aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-12-08 19:58:14 +0000
committerNick Mathewson <nickm@torproject.org>2005-12-08 19:58:14 +0000
commit338f23114faf35f9965dd9de6ee08376db905533 (patch)
tree20148b10cb92bc6f51da3b896a463511214935c9 /src/or
parent2d585941b8f95b301803ef57da6d1da9671365c4 (diff)
downloadtor-338f23114faf35f9965dd9de6ee08376db905533.tar
tor-338f23114faf35f9965dd9de6ee08376db905533.tar.gz
Oops. 0.0.0.0/8 and 169.254.0.0/16 are also special.
svn:r5536
Diffstat (limited to 'src/or')
-rw-r--r--src/or/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 68da7e0af..c664026b9 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2777,6 +2777,7 @@ static int
config_expand_exit_policy_aliases(smartlist_t *entries)
{
static const char *prefixes[] = {
+ "0.0.0.0/8", "169.254.0.0/16",
"127.0.0.0/8", "192.168.0.0/16", "10.0.0.0/8", "172.16.0.0/12",NULL };
int i;
char *pre=NULL, *post=NULL;