Skip to content

Commit

Permalink
remote/exporter: always set tcp for ser2net
Browse files Browse the repository at this point in the history
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 labgrid-project#1416

Signed-off-by: Rouven Czerwinski <[email protected]>
  • Loading branch information
Emantor committed Jun 21, 2024
1 parent d0b08a1 commit a3dbfb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labgrid/remote/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a3dbfb5

Please sign in to comment.