summaryrefslogtreecommitdiffstats
path: root/vtysh
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-07-21 08:28:04 +0200
committerDavid Lamparter <equinox@diac24.net>2021-02-01 17:28:11 +0100
commit01485adb9d07d74c0ef02f1b47cad4ce46161934 (patch)
tree2ca1e66f04e00137d0a1d321b3f07b073ef55991 /vtysh
parentlib/xref: add xrefs for DEFUNs (diff)
downloadfrr-01485adb9d07d74c0ef02f1b47cad4ce46161934.tar.xz
frr-01485adb9d07d74c0ef02f1b47cad4ce46161934.zip
lib/xref: add xrefs for install_element()
Combined with the DEFUN xrefs, this means we can extract the full CLI tree from a binary file. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'vtysh')
-rw-r--r--vtysh/vtysh.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index a6f9f39a4..efb6b28ac 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -3797,11 +3797,11 @@ DEFUN_HIDDEN(show_cli_graph_vtysh,
static void vtysh_install_default(enum node_type node)
{
- install_element(node, &config_list_cmd);
- install_element(node, &find_cmd);
- install_element(node, &show_cli_graph_vtysh_cmd);
- install_element(node, &vtysh_output_file_cmd);
- install_element(node, &no_vtysh_output_file_cmd);
+ _install_element(node, &config_list_cmd);
+ _install_element(node, &find_cmd);
+ _install_element(node, &show_cli_graph_vtysh_cmd);
+ _install_element(node, &vtysh_output_file_cmd);
+ _install_element(node, &no_vtysh_output_file_cmd);
}
/* Making connection to protocol daemon. */