summaryrefslogtreecommitdiff
path: root/lib/vty.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vty.h')
-rw-r--r--lib/vty.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/vty.h b/lib/vty.h
index 98d75542fd..035e758024 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -290,7 +290,7 @@ struct vty_arg {
#endif
/* Prototypes. */
-extern void vty_init(struct thread_master *);
+extern void vty_init(struct thread_master *, bool do_command_logging);
extern void vty_init_vtysh(void);
extern void vty_terminate(void);
extern void vty_reset(void);
@@ -313,8 +313,8 @@ extern void vty_time_print(struct vty *, int);
extern void vty_serv_sock(const char *, unsigned short, const char *);
extern void vty_close(struct vty *);
extern char *vty_get_cwd(void);
-extern void vty_log(const char *level, const char *proto, const char *fmt,
- struct timestamp_control *, va_list);
+extern void vty_log(const char *level, const char *proto, const char *msg,
+ struct timestamp_control *);
extern int vty_config_enter(struct vty *vty, bool private_config,
bool exclusive);
extern void vty_config_exit(struct vty *);