Commit 9dc5cbff authored by Dietmar Maurer's avatar Dietmar Maurer

call $rpcenv->init_request before calling remote_node_ip

Else get get undefined values.
parent 7232593a
......@@ -495,6 +495,9 @@ sub handle_spice_proxy_request {
eval {
my $rpcenv = $self->{rpcenv};
$rpcenv->init_request();
my $remip;
if ($node ne 'localhost' && $node ne PVE::INotify::nodename()) {
......
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