Commit dc6e39a7 authored by Leigh B Stoller's avatar Leigh B Stoller

Change Net::IP from use to require when IPV6 is enabled.

parent 8b8de3aa
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
use English; use English;
use Socket; use Socket;
use strict; use strict;
use Net::IP;
# #
# Suck out virtual names and create CNAME map entries. # Suck out virtual names and create CNAME map entries.
...@@ -300,6 +299,8 @@ while (my $dirent = readdir(DIR)) { ...@@ -300,6 +299,8 @@ while (my $dirent = readdir(DIR)) {
} }
if ($IPV6_ENABLED) { if ($IPV6_ENABLED) {
require Net::IP;
make_ipv6_reverse_zonefile($reverse_ipv6_tail,\%routable); make_ipv6_reverse_zonefile($reverse_ipv6_tail,\%routable);
assemble_zonefile($reverse_ipv6); assemble_zonefile($reverse_ipv6);
} }
......
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