summaryrefslogtreecommitdiff
path: root/bfdd/bfdd.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2024-01-25 18:30:10 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2024-01-27 19:02:51 +0100
commit634f481113a6ded9c9d596f54001872e2cc1b47f (patch)
tree09ff70ab6e4a702f54a7f967b04c73de02a0c45e /bfdd/bfdd.c
parentcd35ecc575a7b4b1a7ad134ccb3c76011ff5a347 (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 'bfdd/bfdd.c')
-rw-r--r--bfdd/bfdd.c19
1 files changed, 13 insertions, 6 deletions
diff --git a/bfdd/bfdd.c b/bfdd/bfdd.c
index 731ca6f875..1a89b9b351 100644
--- a/bfdd/bfdd.c
+++ b/bfdd/bfdd.c
@@ -117,13 +117,20 @@ static const struct frr_yang_module_info *const bfdd_yang_modules[] = {
&frr_vrf_info,
};
-FRR_DAEMON_INFO(bfdd, BFD, .vty_port = 2617,
- .proghelp = "Implementation of the BFD protocol.",
- .signals = bfd_signals, .n_signals = array_size(bfd_signals),
- .privs = &bglobal.bfdd_privs,
- .yang_modules = bfdd_yang_modules,
- .n_yang_modules = array_size(bfdd_yang_modules),
+/* clang-format off */
+FRR_DAEMON_INFO(bfdd, BFD,
+ .vty_port = 2617,
+ .proghelp = "Implementation of the BFD protocol.",
+
+ .signals = bfd_signals,
+ .n_signals = array_size(bfd_signals),
+
+ .privs = &bglobal.bfdd_privs,
+
+ .yang_modules = bfdd_yang_modules,
+ .n_yang_modules = array_size(bfdd_yang_modules),
);
+/* clang-format on */
#define OPTION_CTLSOCK 1001
#define OPTION_DPLANEADDR 2000