This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via d64b6aed235f6e4d84a2cb8e84b32c3179260254 (commit)
from 889ab16437297a2ce1885efde5e2efc4816851ff (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=d64b6aed235f6e4d84a2cb8e84b3…
commit d64b6aed235f6e4d84a2cb8e84b32c3179260254
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Thu Sep 7 04:52:05 2017 +0200
VTY: interactive: never look for matching commands on parent node
For interactive telnet VTY, remove the implicit move up to the parent node when
a command did not succeed on the current node level.
When reading config files, this behavior was useful to allow skipping explicit
'exit' commands. (A different patch deals with that.)
In the telnet VTY, this behavior was never necessary. Explicit 'exit'
commands
can move to the parent node, and typically uninformed users expect to require
that.
On a telnet VTY, counting indents like for reading config files is not an
option: a user will always type from the first column or may paste some leading
spaces without intended meaning.
After this patch, it is thus no longer possible to paste a complete config
across several node levels directly to a telnet session, unless it contains
'exit' commands.
Change-Id: Id73cba2dd34676bad8a130e9c45e67a272f19588
-----------------------------------------------------------------------
Summary of changes:
src/vty/command.c | 28 ++--------------------------
tests/vty/vty_test.c | 6 ++----
tests/vty/vty_test.ok | 4 +---
3 files changed, 5 insertions(+), 33 deletions(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications