diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-02-01 16:26:41 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-02-01 16:29:02 +0100 |
commit | 0876b4c1b8ee835cfa442d94a6e9938e53b3a32a (patch) | |
tree | 7064eec675b838d44a80a2715f874cd783f5f432 | |
parent | Merge pull request #12667 from donaldsharp/zebra_rib_fixup (diff) | |
download | frr-0876b4c1b8ee835cfa442d94a6e9938e53b3a32a.tar.xz frr-0876b4c1b8ee835cfa442d94a6e9938e53b3a32a.zip |
vtysh: Schedule shell access for deprecation
Schedule shell access for deprecation and removal in
a years time.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r-- | doc/user/installation.rst | 3 | ||||
-rw-r--r-- | vtysh/vtysh.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/user/installation.rst b/doc/user/installation.rst index 8f89c6c4f..2310d397c 100644 --- a/doc/user/installation.rst +++ b/doc/user/installation.rst @@ -314,7 +314,8 @@ options from the list below. Turn on the ability of FRR to access some shell options( telnet/ssh/bash/etc. ) from vtysh itself. This option is considered extremely unsecure and should only - be considered for usage if you really really know what you are doing. + be considered for usage if you really really know what you are doing. This + option is deprecated and will be removed on Feb 1, 2024. .. option:: --enable-gcov diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index 788518848..acc984ced 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -4014,6 +4014,9 @@ DEFUN (vtysh_traceroute6, return CMD_SUCCESS; } +#if CONFDATE > 20240201 +CPP_NOTICE("Remove HAVE_SHELL_ACCESS and it's documentation"); +#endif #if defined(HAVE_SHELL_ACCESS) DEFUN (vtysh_telnet, vtysh_telnet_cmd, |