From 76247e276802883223e58bc42ee27d9588a00eca Mon Sep 17 00:00:00 2001 From: Mark Tearle <mark@tearle.com> Date: Sun, 15 Mar 2015 17:24:18 +0800 Subject: [PATCH] BUGFIX: Fix log entry vis Modbus port --- virtualcoke.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtualcoke.py b/virtualcoke.py index 9d41bb3..c1ea77a 100755 --- a/virtualcoke.py +++ b/virtualcoke.py @@ -58,8 +58,8 @@ def StartModbusAsyncServer(context, identity=None, address=None, console=False): factory = ModbusServerFactory(context, framer, identity) if console: InstallManagementConsole({'factory': factory}) - log.info("Starting Modbus TCP Server on %s:%s" % address) reactor.listenTCP(address[1], factory, interface=address[0]) + log.info("Starting Modbus TCP Server on %s:%s" % address) # -- GitLab