summaryrefslogtreecommitdiff
path: root/ldpd/ldp_debug.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-09-08 21:46:23 +0200
committerDavid Lamparter <equinox@diac24.net>2020-04-16 12:53:00 +0200
commit62b346eefa1b9e09c9372f5b6376e1bca4162015 (patch)
tree2e3bc16d1d0765ab033c7ffd24ca58b3b5d35168 /ldpd/ldp_debug.c
parent4c749d99dcdc7f0d811d0bbd2858b87f41e4feba (diff)
*: 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 'ldpd/ldp_debug.c')
-rw-r--r--ldpd/ldp_debug.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/ldpd/ldp_debug.c b/ldpd/ldp_debug.c
index ec70ef510a..78d40b8ff5 100644
--- a/ldpd/ldp_debug.c
+++ b/ldpd/ldp_debug.c
@@ -30,11 +30,10 @@ struct ldp_debug conf_ldp_debug;
struct ldp_debug ldp_debug;
/* Debug node. */
-struct cmd_node ldp_debug_node =
-{
- DEBUG_NODE,
- "",
- 1
+struct cmd_node ldp_debug_node = {
+ .node = DEBUG_NODE,
+ .prompt = "",
+ .vtysh = 1,
};
int