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 /ripngd/ripngd.c | |
| parent | 4c749d99dcdc7f0d811d0bbd2858b87f41e4feba (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 'ripngd/ripngd.c')
| -rw-r--r-- | ripngd/ripngd.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index 1ea006abd6..12f8b268fb 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -2436,7 +2436,9 @@ static int ripng_config_write(struct vty *vty)  /* RIPng node structure. */  static struct cmd_node cmd_ripng_node = { -	RIPNG_NODE, "%s(config-router)# ", 1, +	.node = RIPNG_NODE, +	.prompt = "%s(config-router)# ", +	.vtysh = 1,  };  static void ripng_distribute_update(struct distribute_ctx *ctx,  | 
