[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] make the local and private network masks explicit when we c...
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
routerlist.c
Log Message:
make the local and private network masks explicit when we complain
Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.240
retrieving revision 1.241
diff -u -d -r1.240 -r1.241
--- routerlist.c 20 Jun 2005 23:04:13 -0000 1.240
+++ routerlist.c 29 Jun 2005 19:15:23 -0000 1.241
@@ -1263,11 +1263,11 @@
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) {