[pve-devel] [PATCH common 1/1] fix #2618: increase maximum port for spice to 61999

Dominik Csapak d.csapak at proxmox.com
Mon Mar 2 10:33:00 CET 2020


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 src/PVE/Tools.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm
index db4cdf7..27230c5 100644
--- a/src/PVE/Tools.pm
+++ b/src/PVE/Tools.pm
@@ -910,7 +910,7 @@ sub next_vnc_port {
 
 sub next_spice_port {
     my ($family, $address) = @_;
-    return next_unused_port(61000, 61099, $family, $address);
+    return next_unused_port(61000, 61999, $family, $address);
 }
 
 sub must_stringify {
-- 
2.20.1





More information about the pve-devel mailing list