summaryrefslogtreecommitdiff
path: root/lib/vty.h
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-05-03 00:41:19 -0400
committerChristian Hopps <chopps@labn.net>2023-05-04 14:48:59 -0400
commit3701780a15f90e9e64a32fd24bb8d2887b3a4ef9 (patch)
tree090451bdba5cca05e6cde063425a2933b24106af /lib/vty.h
parent27797fec2cb76c7a5526b34ca8494ec72a633f29 (diff)
lib: log commands read from config file
When the user specifies `--command-log-always` in CLI arguments then also log commands executed from loading the config file. Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/vty.h')
-rw-r--r--lib/vty.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vty.h b/lib/vty.h
index 5114238f6a..560748d91d 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -335,6 +335,7 @@ struct vty_arg {
#endif
extern struct nb_config *vty_mgmt_candidate_config;
+extern bool vty_log_commands;
/* Prototypes. */
extern void vty_init(struct event_loop *m, bool do_command_logging);