1
0
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:
Carlos Martín 2016-04-13 11:31:31 +02:00
parent 0c03f3ee20
commit 9c8d5e89bd

View File

@ -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;
}