Skip to content

Commit a3dbfb5

Browse files
committed
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 <r.czerwinski@pengutronix.de>
1 parent d0b08a1 commit a3dbfb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

labgrid/remote/exporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def _start(self, start_params):
248248
"-d",
249249
"-n",
250250
"-Y",
251-
f"connection: &con01# accepter: telnet(rfc2217,mode=server),{self.port}",
251+
f"connection: &con01# accepter: telnet(rfc2217,mode=server),tcp,{self.port}",
252252
"-Y",
253253
f' connector: serialdev(nouucplock=true),{start_params["path"]},{self.local.speed}n81,local', # pylint: disable=line-too-long
254254
"-Y",

0 commit comments

Comments
 (0)