diff --git a/bind8/bind8-lib.pl b/bind8/bind8-lib.pl index 2224cc114..416fe5150 100755 --- a/bind8/bind8-lib.pl +++ b/bind8/bind8-lib.pl @@ -3022,7 +3022,7 @@ my %on = map { $_, 1 } @{$_[0]}; &remote_error_setup(\&slave_error_handler); my @slaveerrs; foreach my $slave (&list_slave_servers()) { - next if (%on && !$on{$slave->{'host'}}); + next if (%on && !$on{$slave->{'nsname'}}); # Find the PID file $slave_error = undef;