Commit 7ba6164a authored by Wolfgang Bumiller's avatar Wolfgang Bumiller Committed by Dietmar Maurer

spiceproxy: same condition for ipv6 socket as in pveproxy

parent f2e643fd
......@@ -60,7 +60,8 @@ sub init {
my $lockfh = IO::File->new(">>${accept_lock_fn}") ||
die "unable to open lock file '${accept_lock_fn}' - $!\n";
my $socket = $self->create_reusable_socket(3128);
my $family = PVE::Tools::get_host_address_family($self->{nodename});
my $socket = $self->create_reusable_socket(3128, undef, $family);
$self->{server_config} = {
base_handler_class => 'PVE::API2',
......
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