diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-02-01 10:26:41 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-02-01 10:29:02 -0500 | 
| commit | 0876b4c1b8ee835cfa442d94a6e9938e53b3a32a (patch) | |
| tree | 7064eec675b838d44a80a2715f874cd783f5f432 | |
| parent | aa16204dfbff980a345dabef38ecf9d368b03879 (diff) | |
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 8f89c6c4f8..2310d397cd 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 7885188483..acc984ced7 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,  | 
