File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ Bug fixes in 0.5.0
1111- Fixed a bug where using ``labgrid-client io get `` always returned ``low ``
1212 when reading a ``sysfsgpio ``.
1313- Fix labgrid-client exit code on keyboard interrupt.
14+ - Fixed ``labgrid-client forward --remote ``/``-R ``, which used either the LOCAL
15+ part of ``--local ``/``-L `` accidentally (if specified) or raised an
16+ UnboundLocalError.
1417
1518Breaking changes in 0.5.0
1619~~~~~~~~~~~~~~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -1121,7 +1121,7 @@ def forward(self):
11211121 print (f"Forwarding local port { localport :d} to remote port { remote :d} " )
11221122
11231123 for local , remote in self .args .remote :
1124- stack .enter_context (drv .forward_remote_port (remote , localport ))
1124+ stack .enter_context (drv .forward_remote_port (remote , local ))
11251125 print (f"Forwarding remote port { remote :d} to local port { local :d} " )
11261126
11271127 try :
You can’t perform that action at this time.
0 commit comments