mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 16:28:11 +00:00
Sets console end port to 7000. Fixes #343.
This commit is contained in:
parent
c3e99bfc1d
commit
bd47c21514
@ -42,8 +42,8 @@ class PortManager:
|
|||||||
server_config = Config.instance().get_section_config("Server")
|
server_config = Config.instance().get_section_config("Server")
|
||||||
remote_console_connections = server_config.getboolean("allow_remote_console")
|
remote_console_connections = server_config.getboolean("allow_remote_console")
|
||||||
|
|
||||||
console_start_port_range = server_config.getint("console_start_port_range", 2000)
|
console_start_port_range = server_config.getint("console_start_port_range", 2001)
|
||||||
console_end_port_range = server_config.getint("console_end_port_range", 5000)
|
console_end_port_range = server_config.getint("console_end_port_range", 7000)
|
||||||
self._console_port_range = (console_start_port_range, console_end_port_range)
|
self._console_port_range = (console_start_port_range, console_end_port_range)
|
||||||
log.debug("Console port range is {}-{}".format(console_start_port_range, console_end_port_range))
|
log.debug("Console port range is {}-{}".format(console_start_port_range, console_end_port_range))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user