fix(cgi-bin): allow update all pipe pieces

main
Tsu-ba-me 3 years ago
parent 742af987e9
commit c7f63f4a4b
  1. 8
      cgi-bin/manage_vnc_pipes

@ -818,7 +818,9 @@ sub open_vnc_pipe
ssh_tunnel_forward_port => $ssh_tunnel_info->{forward_port}
});
}
elsif ($ws_info->{is_update})
else
{
if ($ws_info->{is_update})
{
update_vnc_pipe({
server_uuid => $server_uuid,
@ -828,7 +830,8 @@ sub open_vnc_pipe
ws_source_port => $ws_info->{source_port}
});
}
elsif ($ssh_tunnel_info->{is_update})
if ($ssh_tunnel_info->{is_update})
{
update_vnc_pipe({
server_uuid => $server_uuid,
@ -837,6 +840,7 @@ sub open_vnc_pipe
ssh_tunnel_forward_port => $ssh_tunnel_info->{forward_port}
});
}
}
$vnc_pipe_info = { forward_port => $ssh_tunnel_info->{forward_port} };

Loading…
Cancel
Save