aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Make.rules7
-rwxr-xr-xdnsdbck/dnsdbck2
2 files changed, 8 insertions, 1 deletions
diff --git a/Make.rules b/Make.rules
index 55cc271..407f51b 100644
--- a/Make.rules
+++ b/Make.rules
@@ -21,3 +21,10 @@ publish:
echo $(GNUPLOAD) $$s; \
$(GNUPLOAD) $$s; \
fi
+
+Makefile: Makefile.PL
+ perl Makefile.PL
+
+install: Makefile
+ make -f Makefile install
+ \ No newline at end of file
diff --git a/dnsdbck/dnsdbck b/dnsdbck/dnsdbck
index 9e7ae70..16fb4c4 100755
--- a/dnsdbck/dnsdbck
+++ b/dnsdbck/dnsdbck
@@ -550,7 +550,7 @@ while (my ($key, $value) = each(%reverse_zone)) {
.$row{'data'}
.": no SOA for $dir in the database";
- my ($name,$aliases,$addrtype,$length,@addrs)
+ my (undef,undef,undef,undef,@addrs)
= gethostbyname($row{'data'});
foreach my $addr (@addrs) {
my @oct = split(/\./, inet_ntoa($addr));

Return to:

Send suggestions and report system problems to the System administrator.