mirror_frr/vtysh
Christian Hopps 07035ce954 vtysh: track and fix file-lock use in the workaround from 2004
There's a workaround in the code from a bug from back in 2004, it ends
and re-enters config mode anytime an `exit` is done from a level below
the top-level config node (e.g., from a `router isis` node). We need to
re-enter config mode with or without a lock according to how we actually
entered it to begin with.

fixes #13920

Signed-off-by: Christian Hopps <chopps@labn.net>
2023-07-14 18:24:44 -04:00
..
.gitignore build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
daemons.pl *: manual SPDX License ID conversions 2023-02-09 14:09:07 +01:00
Makefile build: non-recursive vtysh 2018-09-08 21:26:54 +02:00
subdir.am build: consistently mkdir -p output for redirect 2023-01-24 17:46:57 +01:00
vtysh_config.c vtysh: track and fix file-lock use in the workaround from 2004 2023-07-14 18:24:44 -04:00
vtysh_main.c vtysh: Fix typo in warning message for -b -f ... 2023-05-25 10:20:53 +03:00
vtysh_user.c vtysh: Give actual pam error messages 2023-05-26 07:44:11 -04:00
vtysh_user.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
vtysh.c vtysh: track and fix file-lock use in the workaround from 2004 2023-07-14 18:24:44 -04:00
vtysh.h vtysh: use fork() workflow for -f too 2023-03-28 10:10:33 -04:00