From 62b346eefa1b9e09c9372f5b6376e1bca4162015 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Sat, 8 Sep 2018 21:46:23 +0200 Subject: *: clean up cmd_node initializers ... and use named assignments everywhere (so I can change the struct.) Signed-off-by: David Lamparter --- ripngd/ripng_debug.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ripngd/ripng_debug.c') diff --git a/ripngd/ripng_debug.c b/ripngd/ripng_debug.c index fe63d8fdea..fe4ec256ba 100644 --- a/ripngd/ripng_debug.c +++ b/ripngd/ripng_debug.c @@ -176,8 +176,9 @@ DEFUN (no_debug_ripng_zebra, /* Debug node. */ static struct cmd_node debug_node = { - DEBUG_NODE, "", /* Debug node has no interface. */ - 1 /* VTYSH */ + .node = DEBUG_NODE, + .prompt = "", + .vtysh = 1, }; static int config_write_debug(struct vty *vty) -- cgit v1.2.3