summaryrefslogtreecommitdiffstats
path: root/ripngd/ripng_interface.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-09-09 00:15:50 +0200
committerDavid Lamparter <equinox@diac24.net>2020-04-16 12:53:59 +0200
commitf4b8291fcbcfb16c23d07c60d4669afaf396dbea (patch)
tree3b121c1e3ac8dc7a2d67ca965f4c8e4546e404c1 /ripngd/ripng_interface.c
parent*: move CLI parent data to cmd_node->parent_node (diff)
downloadfrr-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 'ripngd/ripng_interface.c')
-rw-r--r--ripngd/ripng_interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ripngd/ripng_interface.c b/ripngd/ripng_interface.c
index e45bbbe21..e8c907227 100644
--- a/ripngd/ripng_interface.c
+++ b/ripngd/ripng_interface.c
@@ -957,6 +957,7 @@ static int interface_config_write(struct vty *vty)
static int interface_config_write(struct vty *vty);
/* ripngd's interface node. */
static struct cmd_node interface_node = {
+ .name = "interface",
.node = INTERFACE_NODE,
.parent_node = CONFIG_NODE,
.prompt = "%s(config-if)# ",