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 /staticd | |
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 'staticd')
-rw-r--r-- | staticd/static_vty.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/staticd/static_vty.c b/staticd/static_vty.c index a950b0473..82d8997da 100644 --- a/staticd/static_vty.c +++ b/staticd/static_vty.c @@ -1470,7 +1470,11 @@ DEFUN_NOSH (show_debugging_static, return CMD_SUCCESS; } -static struct cmd_node debug_node = {DEBUG_NODE, "", 1}; +static struct cmd_node debug_node = { + .node = DEBUG_NODE, + .prompt = "", + .vtysh = 1, +}; void static_vty_init(void) { |