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 /ospfd | |
| 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 'ospfd')
| -rw-r--r-- | ospfd/ospf_main.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/ospfd/ospf_main.c b/ospfd/ospf_main.c index a2a1c4a94f..168cdbe482 100644 --- a/ospfd/ospf_main.c +++ b/ospfd/ospf_main.c @@ -126,15 +126,20 @@ static const struct frr_yang_module_info *const ospfd_yang_modules[] = { &frr_ospf_route_map_info, }; -FRR_DAEMON_INFO(ospfd, OSPF, .vty_port = OSPF_VTY_PORT, +/* clang-format off */ +FRR_DAEMON_INFO(ospfd, OSPF, + .vty_port = OSPF_VTY_PORT, + .proghelp = "Implementation of the OSPFv2 routing protocol.", - .proghelp = "Implementation of the OSPFv2 routing protocol.", + .signals = ospf_signals, + .n_signals = array_size(ospf_signals), - .signals = ospf_signals, .n_signals = array_size(ospf_signals), + .privs = &ospfd_privs, - .privs = &ospfd_privs, .yang_modules = ospfd_yang_modules, - .n_yang_modules = array_size(ospfd_yang_modules), + .yang_modules = ospfd_yang_modules, + .n_yang_modules = array_size(ospfd_yang_modules), ); +/* clang-format on */ /** Max wait time for config to load before accepting hellos */ #define OSPF_PRE_CONFIG_MAX_WAIT_SECONDS 600 |
