mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix switching console type from telnet to VNC throws error. Fixes #2489.
This commit is contained in:
1 parent
1905a99ce7
commit
40151cd1fe
5 files changed
+9
-4
No files matched your search
@@ -442,7 +442,7 @@ class BaseNode:
|
||||
return
|
||||
|
||||
if self._console_type == "vnc" and console is not None and console < 5900:
|
||||
raise NodeError("VNC console require a port superior or equal to 5900 currently it's {}".format(console))
|
||||
raise NodeError("VNC console require a port superior or equal to 5900, current port is {}".format(console))
|
||||
|
||||
if self._console:
|
||||
self._manager.port_manager.release_tcp_port(self._console, self._project)
|
||||
|
||||
Reference in new issue
Block a user