From e097a0e72838a52e140036abffeca135c15cfcfe Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 31 Mar 2016 10:06:38 +0200 Subject: [PATCH] Fix Dynamips VM ignores changed console port Fix #468 --- gns3server/modules/dynamips/nodes/router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/modules/dynamips/nodes/router.py b/gns3server/modules/dynamips/nodes/router.py index 0b301d0a..f79f0b0b 100644 --- a/gns3server/modules/dynamips/nodes/router.py +++ b/gns3server/modules/dynamips/nodes/router.py @@ -894,7 +894,7 @@ class Router(BaseVM): """ self.console = console - yield from self._hypervisor.send('vm set_con_tcp_port "{name}" {console}'.format(name=self._name, console=console)) + yield from self._hypervisor.send('vm set_con_tcp_port "{name}" {console}'.format(name=self._name, console=self.console)) @asyncio.coroutine def set_aux(self, aux):