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 /zebra/interface.c | |
| parent | 243895805abcd27cc23f784c0b42036197fa1c3c (diff) | |
*: 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 'zebra/interface.c')
| -rw-r--r-- | zebra/interface.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/interface.c b/zebra/interface.c index f4b330d8a8..cad382ff08 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -1666,6 +1666,7 @@ static void interface_update_stats(void) static int if_config_write(struct vty *vty); struct cmd_node interface_node = { + .name = "interface", .node = INTERFACE_NODE, .parent_node = CONFIG_NODE, .prompt = "%s(config-if)# ", @@ -2080,6 +2081,7 @@ DEFUN (no_bandwidth_if, struct cmd_node link_params_node = { + .name = "link-params", .node = LINK_PARAMS_NODE, .parent_node = INTERFACE_NODE, .prompt = "%s(config-link-params)# ", |
