summaryrefslogtreecommitdiff
path: root/ripd/rip_interface.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 /ripd/rip_interface.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 'ripd/rip_interface.c')
-rw-r--r--ripd/rip_interface.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index 99b7c78d6d..10e23787e6 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -1196,7 +1196,6 @@ int rip_show_network_config(struct vty *vty, struct rip *rip)
static struct cmd_node interface_node = {
.node = INTERFACE_NODE,
.prompt = "%s(config-if)# ",
- .vtysh = 1,
};
void rip_interface_sync(struct interface *ifp)