diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2024-01-25 18:30:10 +0100 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2024-01-27 19:02:51 +0100 | 
| commit | 634f481113a6ded9c9d596f54001872e2cc1b47f (patch) | |
| tree | 09ff70ab6e4a702f54a7f967b04c73de02a0c45e /ripngd | |
| parent | cd35ecc575a7b4b1a7ad134ccb3c76011ff5a347 (diff) | |
*: fix `frr_daemon_info` indentation
clang-format doesn't understand FRR_DAEMON_INFO is a long macro where
laying out items semantically makes sense.
(Also use only one `FRR_DAEMON_INFO(` in isisd so editors don't get
confused with the mismatching `( ( )`.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ripngd')
| -rw-r--r-- | ripngd/ripng_main.c | 22 | 
1 files changed, 12 insertions, 10 deletions
diff --git a/ripngd/ripng_main.c b/ripngd/ripng_main.c index 80b78a150a..ada9ad4e78 100644 --- a/ripngd/ripng_main.c +++ b/ripngd/ripng_main.c @@ -127,21 +127,23 @@ static const struct frr_yang_module_info *const ripngd_yang_modules[] = {  	&frr_vrf_info,  }; -FRR_DAEMON_INFO(ripngd, RIPNG, .vty_port = RIPNG_VTY_PORT, +/* clang-format off */ +FRR_DAEMON_INFO(ripngd, RIPNG, +	.vty_port = RIPNG_VTY_PORT, +	.proghelp = "Implementation of the RIPng routing protocol.", -		.proghelp = "Implementation of the RIPng routing protocol.", +	.signals = ripng_signals, +	.n_signals = array_size(ripng_signals), -		.signals = ripng_signals, -		.n_signals = array_size(ripng_signals), +	.privs = &ripngd_privs, -		.privs = &ripngd_privs, +	.yang_modules = ripngd_yang_modules, +	.n_yang_modules = array_size(ripngd_yang_modules), -		.yang_modules = ripngd_yang_modules, -		.n_yang_modules = array_size(ripngd_yang_modules), - -		/* mgmtd will load the per-daemon config file now */ -		.flags = FRR_NO_SPLIT_CONFIG, +	/* mgmtd will load the per-daemon config file now */ +	.flags = FRR_NO_SPLIT_CONFIG,  ); +/* clang-format on */  #define DEPRECATED_OPTIONS ""  | 
