CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2025/07/03 18:17:55
Modified files: usr.bin/ssh : mux.c Log message: mux: fix incorrect return value check in local forward cancellation channel_cancel_lport_listener() returns 1 on success and 0 on failure. The previous code incorrectly checked for `== -1`, a value the function never returns, so failure was not detected and the "port not found" error message was never shown when cancelling dynamic or local port forwards. From: Boris Tonofa <b.ton...@ideco.ru>