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 /nhrpd/nhrp_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 'nhrpd/nhrp_vty.c')
| -rw-r--r-- | nhrpd/nhrp_vty.c | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/nhrpd/nhrp_vty.c b/nhrpd/nhrp_vty.c index cc35f09aae..69be4db90d 100644 --- a/nhrpd/nhrp_vty.c +++ b/nhrpd/nhrp_vty.c @@ -20,13 +20,11 @@  static struct cmd_node zebra_node = {  	.node = ZEBRA_NODE,  	.prompt = "%s(config-router)# ", -	.vtysh = 1,  };  static struct cmd_node nhrp_interface_node = {  	.node = INTERFACE_NODE,  	.prompt = "%s(config-if)# ", -	.vtysh = 1,  };  #define NHRP_DEBUG_FLAGS_CMD "<all|common|event|interface|kernel|route|vici>"  | 
