From 9e9db3121d207cc246bda0e0d9821694b3d62090 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Thu, 22 Feb 2024 09:10:17 -0800 Subject: [PATCH] fix for echo of characters with shell connection --- src/internal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index e7020fbfc..fccbb5d67 100644 --- a/src/internal.c +++ b/src/internal.c @@ -7335,7 +7335,8 @@ int wolfSSH_DoModes(const byte* modes, word32 modesSz, int fd) TTY_SET_FLAG(term.c_lflag, ONLCR, arg); break; case WOLFSSH_OCRNL: - TTY_SET_FLAG(term.c_lflag, OCRNL, arg); + /* keep as default, adjusting removes echo over shell */ + /* TTY_SET_FLAG(term.c_lflag, OCRNL, arg); */ break; case WOLFSSH_ONOCR: TTY_SET_FLAG(term.c_lflag, ONOCR, arg);