diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2018-09-08 22:00:24 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2020-04-16 12:53:00 +0200 |
| commit | 249a771b63505b24d2a8c05158d7692384811533 (patch) | |
| tree | 20d587dfca7061a129f479e7a96208453cfc3941 /vrrpd/vrrp_vty.c | |
| parent | 62b346eefa1b9e09c9372f5b6376e1bca4162015 (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 'vrrpd/vrrp_vty.c')
| -rw-r--r-- | vrrpd/vrrp_vty.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vrrpd/vrrp_vty.c b/vrrpd/vrrp_vty.c index 98e0e598e9..e1dd0a2d4c 100644 --- a/vrrpd/vrrp_vty.c +++ b/vrrpd/vrrp_vty.c @@ -747,19 +747,16 @@ static int vrrp_config_write_interface(struct vty *vty) static struct cmd_node interface_node = { .node = INTERFACE_NODE, .prompt = "%s(config-if)# ", - .vtysh = 1, }; static struct cmd_node debug_node = { .node = DEBUG_NODE, .prompt = "", - .vtysh = 1, }; static struct cmd_node vrrp_node = { .node = VRRP_NODE, .prompt = "", - .vtysh = 1, }; void vrrp_vty_init(void) |
