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 /ospf6d | |
| 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 'ospf6d')
| -rw-r--r-- | ospf6d/ospf6_interface.c | 1 | ||||
| -rw-r--r-- | ospf6d/ospf6_top.c | 1 | ||||
| -rw-r--r-- | ospf6d/ospf6d.c | 1 | 
3 files changed, 0 insertions, 3 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index a0dd396cc3..2bcaccc423 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -1946,7 +1946,6 @@ static int config_write_ospf6_interface(struct vty *vty)  static struct cmd_node interface_node = {  	.node = INTERFACE_NODE,  	.prompt = "%s(config-if)# ", -	.vtysh = 1,  };  static int ospf6_ifp_create(struct interface *ifp) diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c index 2f646ce443..ae7ecb55aa 100644 --- a/ospf6d/ospf6_top.c +++ b/ospf6d/ospf6_top.c @@ -1116,7 +1116,6 @@ static int config_write_ospf6(struct vty *vty)  static struct cmd_node ospf6_node = {  	.node = OSPF6_NODE,  	.prompt = "%s(config-ospf6)# ", -	.vtysh = 1,  };  /* Install ospf related commands. */ diff --git a/ospf6d/ospf6d.c b/ospf6d/ospf6d.c index 1beadca795..8e5406642a 100644 --- a/ospf6d/ospf6d.c +++ b/ospf6d/ospf6d.c @@ -72,7 +72,6 @@ struct route_node *route_prev(struct route_node *node)  static struct cmd_node debug_node = {  	.node = DEBUG_NODE,  	.prompt = "", -	.vtysh = 1,  };  static int config_write_ospf6_debug(struct vty *vty)  | 
