0.4.3: derive VNC connect address from the VM's bridge IP

This commit is contained in:
Claw committed 2026-11-17 20:50:26 +01:00
1 parent 3c2ee78944
commit b9ad09e717
4 files changed
+41 -6

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ vmm_nav('dashboard');
$vncBind = (string)$b['data']['vnc'];
}
}
$vncTarget = vmm_vnc_connect($vncBind);
$vncTarget = $vncBind !== '' ? vmm_vnc_connect($vncBind, vmm_vnc_host_for_vm($name)) : '';
?>
<?php if ($vncTarget !== ''): ?>
<table class="area_data_settings" style="width:100%;border-collapse:collapse;">