From a3dbfb559237469ac16b04e8a3967e00f05c3105 Mon Sep 17 00:00:00 2001 From: Rouven Czerwinski Date: Fri, 21 Jun 2024 11:23:47 +0200 Subject: [PATCH] remote/exporter: always set tcp for ser2net Always indicate that the network connection should use tcp. This was not mandatory for versions before 4.6.0, but is for versions afterwards. This should not impact the behavior for earlier versions, since all versions since the introduction of YAML configurations in 4.2.0 support this parameter. Fixes #1416 Signed-off-by: Rouven Czerwinski --- labgrid/remote/exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labgrid/remote/exporter.py b/labgrid/remote/exporter.py index 5018206c6..dde83bb7a 100755 --- a/labgrid/remote/exporter.py +++ b/labgrid/remote/exporter.py @@ -248,7 +248,7 @@ def _start(self, start_params): "-d", "-n", "-Y", - f"connection: &con01# accepter: telnet(rfc2217,mode=server),{self.port}", + f"connection: &con01# accepter: telnet(rfc2217,mode=server),tcp,{self.port}", "-Y", f' connector: serialdev(nouucplock=true),{start_params["path"]},{self.local.speed}n81,local', # pylint: disable=line-too-long "-Y",