summaryrefslogtreecommitdiff
path: root/vtysh/vtysh_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'vtysh/vtysh_main.c')
-rw-r--r--vtysh/vtysh_main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vtysh/vtysh_main.c b/vtysh/vtysh_main.c
index 9667460189..d536263db0 100644
--- a/vtysh/vtysh_main.c
+++ b/vtysh/vtysh_main.c
@@ -47,6 +47,8 @@
#include "linklist.h"
#include "memory_vty.h"
#include "libfrr.h"
+#include "ferr.h"
+#include "lib_errors.h"
#include "vtysh/vtysh.h"
#include "vtysh/vtysh_user.h"
@@ -461,6 +463,9 @@ int main(int argc, char **argv, char **env)
vtysh_read_config(vtysh_config);
suid_off();
}
+ /* Error code library system */
+ log_ref_init();
+ lib_error_init();
if (markfile) {
if (!inputfile) {