]> git.puffer.fish Git - mirror/frr.git/commit
lib: fix CRNL causing empty prompt lines 8075/head
authorDavid Lamparter <equinox@diac24.net>
Fri, 12 Feb 2021 22:30:55 +0000 (23:30 +0100)
committerDavid Lamparter <equinox@diac24.net>
Mon, 15 Feb 2021 00:29:44 +0000 (01:29 +0100)
commite0a5979d58c39b6a173052867f4f44e9b85bd1c3
tree58963713ed08a5ad6711ef5b1dd28f9f85b03860
parentab699721a1e8533ed7225e8b32ad1d37857f93ce
lib: fix CRNL causing empty prompt lines

CR, NL and CRNL are all OK, but CRNL shouldn't get treated as 2
newlines (which causes an empty command to be executed => empty prompt
line.)

Signed-off-by: David Lamparter <equinox@diac24.net>
lib/vty.c