vlib: extend telnet protocol guard 13/28213/3
authorVladimir Isaev <visaev@netgate.com>
Tue, 11 Aug 2020 14:15:58 +0000 (17:15 +0300)
committerMatthew Smith <mgsmith@netgate.com>
Mon, 31 Aug 2020 20:43:34 +0000 (20:43 +0000)
commitb59095f830fbacbe2631dbbaa92f8e9606184015
treeacf6c6090ae37a2536b3981b77a4c0f27544e9eb
parent90d05bc7fb834b5cf25bdd9bb6d92bb35e602494
vlib: extend telnet protocol guard

There is a number of TERMs with big length, such as
'screen.konsole-256color' (23). These TERMs can not
be processed properly by vpp because maximum telnet
byte stream supported is 24 and we need 6 more service
bytes to send TTYPE.

So I extended maximum depth guard to 32.

Type: fix
Signed-off-by: Vladimir Isaev <visaev@netgate.com>
Change-Id: I9ca506996a97e9567d06483c5f020d6cc394329c
src/vlib/unix/cli.c