diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 2a81cb2cc3..f6237413f4 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1263,11 +1263,11 @@ exit_policy_implicitly_allows_local_networks(addr_policy_t *policy, static struct { uint32_t addr; uint32_t mask; const char *network; } private_networks[] = { - { 0x7f000000, 0xff000000, "localhost (127.x)" }, - { 0x0a000000, 0xff000000, "addresses in private network 10.x" }, - { 0xa9fe0000, 0xffff0000, "addresses in private network 169.254.x" }, - { 0xac100000, 0xfff00000, "addresses in private network 172.16.x" }, - { 0xc0a80000, 0xffff0000, "addresses in private network 192.168.x" }, + { 0x7f000000, 0xff000000, "localhost (127.0.0.0/8)" }, + { 0x0a000000, 0xff000000, "addresses in private network 10.0.0.0/8" }, + { 0xa9fe0000, 0xffff0000, "addresses in private network 169.254.0.0/16" }, + { 0xac100000, 0xfff00000, "addresses in private network 172.16.0.0/12" }, + { 0xc0a80000, 0xffff0000, "addresses in private network 192.168.0.0/16" }, { 0,0,NULL}, }; for (i=0; private_networks[i].addr; ++i) {