--- bin/spiceproxy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/spiceproxy b/bin/spiceproxy index fbeb7a6..07acf32 100755 --- a/bin/spiceproxy +++ b/bin/spiceproxy @@ -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', -- 2.1.4 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel