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 /lib/filter.c | |
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 'lib/filter.c')
-rw-r--r-- | lib/filter.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/filter.c b/lib/filter.c index c6cc16d7d..71c9b8095 100644 --- a/lib/filter.c +++ b/lib/filter.c @@ -2814,6 +2814,7 @@ static int config_write_access(struct vty *vty, afi_t afi) static int config_write_access_mac(struct vty *vty); static struct cmd_node access_mac_node = { + .name = "MAC access list", .node = ACCESS_MAC_NODE, .prompt = "", .config_write = config_write_access_mac, @@ -2868,6 +2869,7 @@ static void access_list_init_mac(void) /* Access-list node. */ static int config_write_access_ipv4(struct vty *vty); static struct cmd_node access_node = { + .name = "ipv4 access list", .node = ACCESS_NODE, .prompt = "", .config_write = config_write_access_ipv4, @@ -2956,6 +2958,7 @@ static void access_list_init_ipv4(void) static int config_write_access_ipv6(struct vty *vty); static struct cmd_node access_ipv6_node = { + .name = "ipv6 access list", .node = ACCESS_IPV6_NODE, .prompt = "", .config_write = config_write_access_ipv6, |