summaryrefslogtreecommitdiff
path: root/bfdd/bfdd_vty.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 /bfdd/bfdd_vty.c
parent62b346eefa1b9e09c9372f5b6376e1bca4162015 (diff)
*: 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 'bfdd/bfdd_vty.c')
-rw-r--r--bfdd/bfdd_vty.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bfdd/bfdd_vty.c b/bfdd/bfdd_vty.c
index fddefb750c..ee0898d86c 100644
--- a/bfdd/bfdd_vty.c
+++ b/bfdd/bfdd_vty.c
@@ -888,13 +888,11 @@ DEFUN_NOSH(show_debugging_bfd,
struct cmd_node bfd_node = {
.node = BFD_NODE,
.prompt = "%s(config-bfd)# ",
- .vtysh = 1,
};
struct cmd_node bfd_peer_node = {
.node = BFD_PEER_NODE,
.prompt = "%s(config-bfd-peer)# ",
- .vtysh = 1,
};
static int bfdd_write_config(struct vty *vty)