aboutsummaryrefslogtreecommitdiff
path: root/axfr2acl/axfr2acl
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2015-04-01 10:39:42 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2015-04-01 11:01:19 +0300
commit4ccb3de29040a53fa55866c84d846639f8ac532a (patch)
tree6f3da1dc1ed5f0b76bf1e2dccd40dd9faafd9d9b /axfr2acl/axfr2acl
parent9896bd62c08a160b75a2dc6c969b4b14eea3d3fa (diff)
downloaddnstools-4ccb3de29040a53fa55866c84d846639f8ac532a.tar.gz
dnstools-4ccb3de29040a53fa55866c84d846639f8ac532a.tar.bz2
Add nsdbimport
Diffstat (limited to 'axfr2acl/axfr2acl')
-rwxr-xr-xaxfr2acl/axfr2acl5
1 files changed, 3 insertions, 2 deletions
diff --git a/axfr2acl/axfr2acl b/axfr2acl/axfr2acl
index 32b4ad3..1accab7 100755
--- a/axfr2acl/axfr2acl
+++ b/axfr2acl/axfr2acl
@@ -108,7 +108,8 @@ sub read_config_file($) {
}
sub note_init_network($) {
- $initnetctx->add($_);
+ my $cidr = shift;
+ $initnetctx->add($cidr);
}
sub networks_from_file($) {
@@ -513,7 +514,7 @@ the same as the long command line options, but without the leading B<-->.
For example:
zones = example.net,example.com
- aclname = mynets
+ acl = mynets
add-network = 10.0.0.0/8
outfile = networks.inc

Return to:

Send suggestions and report system problems to the System administrator.