Unverified Commit aeb02e14 authored by Gavin Brown's avatar Gavin Brown
Browse files

pass family to resolve()

parent 8075eb17
...@@ -174,7 +174,7 @@ sub main_loop { ...@@ -174,7 +174,7 @@ sub main_loop {
# #
my %threads; my %threads;
foreach my $ns (sort(@SERVERS)) { foreach my $ns (sort(@SERVERS)) {
my @ips = resolve($ns); my @ips = resolve($ns, $CONF->{'AddressFamily'});
$threads{$ns} = threads->create(\&time_query, ($CONF->{'AddressFamily'}, $CONF->{'Protocol'}, , @ips)); $threads{$ns} = threads->create(\&time_query, ($CONF->{'AddressFamily'}, $CONF->{'Protocol'}, , @ips));
} }
......
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