summaryrefslogtreecommitdiffstats
path: root/lib/plist.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-09-08 22:00:24 +0200
committerDavid Lamparter <equinox@diac24.net>2020-04-16 12:53:00 +0200
commit249a771b63505b24d2a8c05158d7692384811533 (patch)
tree20d587dfca7061a129f479e7a96208453cfc3941 /lib/plist.c
parent*: clean up cmd_node initializers (diff)
downloadfrr-249a771b63505b24d2a8c05158d7692384811533.tar.xz
frr-249a771b63505b24d2a8c05158d7692384811533.zip
*: remove cmd_node->vtysh
The only nodes that have this as 0 don't have a "->func" anyway, so the entire thing is really just pointless. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/plist.c')
-rw-r--r--lib/plist.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/plist.c b/lib/plist.c
index 15a79a1cd..8f2389a32 100644
--- a/lib/plist.c
+++ b/lib/plist.c
@@ -2048,7 +2048,6 @@ static void prefix_list_reset_afi(afi_t afi, int orf)
static struct cmd_node prefix_node = {
.node = PREFIX_NODE,
.prompt = "",
- .vtysh = 1,
};
static int config_write_prefix_ipv4(struct vty *vty)
@@ -2113,7 +2112,6 @@ static void prefix_list_init_ipv4(void)
static struct cmd_node prefix_ipv6_node = {
.node = PREFIX_IPV6_NODE,
.prompt = "",
- .vtysh = 1,
};
static int config_write_prefix_ipv6(struct vty *vty)