Use 192.0.2.0/24 in our examples, this net is reserved for documentation in RFC3330

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2354 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 9dcae858
......@@ -98,8 +98,8 @@ which can later be used to match client addresses:
.Bd -literal -offset 4n
acl local {
"localhost"; /* myself */
"10.0.0.1"/8; /* and everyone on the local network */
! "10.0.0.23"; /* except for the dialin router */
"192.0.2.0"/24; /* and everyone on the local network */
! "192.0.2.23"; /* except for the dialin router */
}
.Ed
.Pp
......@@ -616,7 +616,7 @@ for object invalidation:
.Bd -literal -offset 4n
acl purge {
"localhost";
"10.0.0.1"/8;
"192.0.2.1"/24;
}
sub vcl_recv {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment