mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-30 22:50:10 +03:00
Feature #2980: Fix port assignment
This commit is contained in:
parent
0c03f3ee20
commit
9c8d5e89bd
@ -728,7 +728,7 @@ int set_vnc_port(VirtualMachine *vm, int cluster_id, RequestAttributes& att)
|
||||
unsigned int port;
|
||||
int rc;
|
||||
|
||||
if (graphics == 0 || !vm->hasHistory())
|
||||
if (graphics == 0)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user