diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2018-09-09 00:15:50 +0200 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2020-04-16 12:53:59 +0200 |
commit | f4b8291fcbcfb16c23d07c60d4669afaf396dbea (patch) | |
tree | 3b121c1e3ac8dc7a2d67ca965f4c8e4546e404c1 /bfdd | |
parent | *: move CLI parent data to cmd_node->parent_node (diff) | |
download | frr-f4b8291fcbcfb16c23d07c60d4669afaf396dbea.tar.xz frr-f4b8291fcbcfb16c23d07c60d4669afaf396dbea.zip |
*: move CLI node names to cmd_node->name
And again for the name. Why on earth would we centralize this, just so
people can forget to update it?
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'bfdd')
-rw-r--r-- | bfdd/bfdd_vty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfdd/bfdd_vty.c b/bfdd/bfdd_vty.c index 5a4ce22b2..71d0a49f6 100644 --- a/bfdd/bfdd_vty.c +++ b/bfdd/bfdd_vty.c @@ -887,6 +887,7 @@ DEFUN_NOSH(show_debugging_bfd, static int bfdd_write_config(struct vty *vty); struct cmd_node bfd_node = { + .name = "bfd", .node = BFD_NODE, .parent_node = CONFIG_NODE, .prompt = "%s(config-bfd)# ", @@ -894,6 +895,7 @@ struct cmd_node bfd_node = { }; struct cmd_node bfd_peer_node = { + .name = "bfd peer", .node = BFD_PEER_NODE, .parent_node = BFD_NODE, .prompt = "%s(config-bfd-peer)# ", |