zoneconf.in (local-addresses-p): Set fake addresses in env var.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 23 Jan 2013 20:56:59 +0000 (20:56 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 23 Jan 2013 20:56:59 +0000 (20:56 +0000)
commit66b7fe74d00aa545abeaa1c048917c85ffd9a4f9
tree05a8f8d9fab1438163dd1b3fa7f5ef77dbfdd33d
parent9a61c5c95963ba0d7fbd0282ee319d6f003f1146
zoneconf.in (local-addresses-p): Set fake addresses in env var.

It's useful to be able to test configurations away from the production
environment, but the `local-addresses-p' check causes the results to be
different.  To allow this kind of testing, set the environment variable
`ZONECONF_LOCAL_ADDRESSES' to a `:'-separated list of IP addresses, in
dotted-quad format: then these addresses and no others will be
considered local.
zoneconf.in