mirror of
https://github.com/apache/nuttx.git
synced 2026-09-03 07:33:00 +00:00
Merged in masayuki2009/nuttx.nuttx/fix_telnet_driver (pull request #819)
drivers/net/telnet.c: Add config to avoid a garbage character when not supported. Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
parent
bf2014cc67
commit
69652bf9f2
1 changed files with 2 additions and 0 deletions
|
|
@ -1028,7 +1028,9 @@ static int telnet_session(FAR struct telnet_session_s *session)
|
|||
|
||||
psock_close(psock);
|
||||
|
||||
#ifdef CONFIG_TELNET_SUPPORT_NAWS
|
||||
telnet_sendopt(priv, TELNET_DO, TELNET_NAWS);
|
||||
#endif
|
||||
|
||||
/* Return the path to the new telnet driver */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue