diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2018-09-08 21:46:23 +0200 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2020-04-16 12:53:00 +0200 |
commit | 62b346eefa1b9e09c9372f5b6376e1bca4162015 (patch) | |
tree | 2e3bc16d1d0765ab033c7ffd24ca58b3b5d35168 /bgpd/rfapi/vnc_debug.c | |
parent | Merge pull request #6237 from ton31337/fix/show_hostname_in_bgp (diff) | |
download | frr-62b346eefa1b9e09c9372f5b6376e1bca4162015.tar.xz frr-62b346eefa1b9e09c9372f5b6376e1bca4162015.zip |
*: clean up cmd_node initializers
... and use named assignments everywhere (so I can change the struct.)
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'bgpd/rfapi/vnc_debug.c')
-rw-r--r-- | bgpd/rfapi/vnc_debug.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bgpd/rfapi/vnc_debug.c b/bgpd/rfapi/vnc_debug.c index 2c5e18832..abc97786b 100644 --- a/bgpd/rfapi/vnc_debug.c +++ b/bgpd/rfapi/vnc_debug.c @@ -173,7 +173,11 @@ static int bgp_vnc_config_write_debug(struct vty *vty) return write; } -static struct cmd_node debug_node = {DEBUG_VNC_NODE, "", 1}; +static struct cmd_node debug_node = { + .node = DEBUG_VNC_NODE, + .prompt = "", + .vtysh = 1, +}; void vnc_debug_init(void) { |