diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2018-05-14 11:01:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-14 11:01:19 -0400 |
| commit | 62362d70aac9f70a2563ae7e5d4448b05c38d2da (patch) | |
| tree | f4347321beabd402c87f4c6bd0558d4277a1a871 /lib/command.h | |
| parent | c02bcc728b9ffde5b23a484399e4e64d86fdb32f (diff) | |
| parent | 4911ca9cab5d75b5031edb83b52423ed47798324 (diff) | |
Merge pull request #2223 from ppmathis/fix/no-password-warnings
lib: Improved warnings for 'no (enable) password'
Diffstat (limited to 'lib/command.h')
| -rw-r--r-- | lib/command.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h index 9ba53e0907..8d9c39b0ea 100644 --- a/lib/command.h +++ b/lib/command.h @@ -376,6 +376,10 @@ struct cmd_node { #define CONF_BACKUP_EXT ".sav" +/* Command warnings. */ +#define NO_PASSWD_CMD_WARNING \ + "Please be aware that removing the password is a security risk and you should think twice about this command.\n" + /* IPv4 only machine should not accept IPv6 address for peer's IP address. So we replace VTY command string like below. */ #define NEIGHBOR_ADDR_STR "Neighbor address\nIPv6 address\n" |
