mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Allow IPv6 addresses for slaves https://forum.virtualmin.com/t/i-need-some-information/116013/37
This commit is contained in:
@@ -2834,13 +2834,14 @@ foreach my $slave (@slaves) {
|
||||
my @otherslaves;
|
||||
if ($config{'other_slaves'}) {
|
||||
@otherslaves = grep { $_ ne '' }
|
||||
map { &to_ipaddress($_->{'host'}) }
|
||||
map { &to_ipaddress($_->{'host'}) ||
|
||||
&to_ip6address($_->{'host'}) }
|
||||
grep { $_ ne $slave } @slaves;
|
||||
}
|
||||
if ($config{'extra_slaves'}) {
|
||||
push(@otherslaves,
|
||||
grep { $_ ne '' }
|
||||
map { &to_ipaddress($_) }
|
||||
map { &to_ipaddress($_) || &to_ipaddress($_) }
|
||||
split(/\s+/, $config{'extra_slaves'}));
|
||||
}
|
||||
if ($moreslaves) {
|
||||
|
||||
Reference in New Issue
Block a user