From 6ce312f73465e2afbef1fb62e2076f0a2ebef4fb Mon Sep 17 00:00:00 2001 From: iliajie Date: Tue, 2 Aug 2022 13:51:15 +0300 Subject: [PATCH] Fix get slave IPv6 address --- bind8/bind8-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bind8/bind8-lib.pl b/bind8/bind8-lib.pl index 802a0d51f..2d3ef38d2 100755 --- a/bind8/bind8-lib.pl +++ b/bind8/bind8-lib.pl @@ -2841,7 +2841,7 @@ foreach my $slave (@slaves) { if ($config{'extra_slaves'}) { push(@otherslaves, grep { $_ ne '' } - map { &to_ipaddress($_) || &to_ipaddress($_) } + map { &to_ipaddress($_) || &to_ip6address($_) } split(/\s+/, $config{'extra_slaves'})); } if ($moreslaves) {