summaryrefslogtreecommitdiff
path: root/staticd
diff options
context:
space:
mode:
Diffstat (limited to 'staticd')
-rw-r--r--staticd/static_debug.c2
-rw-r--r--staticd/static_debug.h2
-rw-r--r--staticd/static_main.c1
-rw-r--r--staticd/static_vty.c9
4 files changed, 10 insertions, 4 deletions
diff --git a/staticd/static_debug.c b/staticd/static_debug.c
index 9906e805a7..e43d4e79ff 100644
--- a/staticd/static_debug.c
+++ b/staticd/static_debug.c
@@ -3,7 +3,7 @@
* Copyright (C) 2019 Volta Networks Inc.
* Mark Stapp
*
- * This file is part of Free Range Routing (FRR).
+ * This file is part of FRRouting (FRR).
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/staticd/static_debug.h b/staticd/static_debug.h
index 8932e2d429..481c266e14 100644
--- a/staticd/static_debug.h
+++ b/staticd/static_debug.h
@@ -3,7 +3,7 @@
* Copyright (C) 2019 Volta Networks Inc.
* Mark Stapp
*
- * This file is part of Free Range Routing (FRR).
+ * This file is part of FRRouting (FRR).
*
* GNU Zebra is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/staticd/static_main.c b/staticd/static_main.c
index 3aa8a8db3e..c77a99f280 100644
--- a/staticd/static_main.c
+++ b/staticd/static_main.c
@@ -104,6 +104,7 @@ struct quagga_signal_t static_signals[] = {
};
static const struct frr_yang_module_info *const staticd_yang_modules[] = {
+ &frr_vrf_info,
};
#define STATIC_VTY_PORT 2616
diff --git a/staticd/static_vty.c b/staticd/static_vty.c
index a950b0473e..16cd64bcb6 100644
--- a/staticd/static_vty.c
+++ b/staticd/static_vty.c
@@ -1470,11 +1470,16 @@ DEFUN_NOSH (show_debugging_static,
return CMD_SUCCESS;
}
-static struct cmd_node debug_node = {DEBUG_NODE, "", 1};
+static struct cmd_node debug_node = {
+ .name = "debug",
+ .node = DEBUG_NODE,
+ .prompt = "",
+ .config_write = static_config_write_debug,
+};
void static_vty_init(void)
{
- install_node(&debug_node, static_config_write_debug);
+ install_node(&debug_node);
install_element(CONFIG_NODE, &ip_mroute_dist_cmd);