summaryrefslogtreecommitdiffstats
path: root/ldpd
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 /ldpd
parentlib: create `frr_daemon_state_{load,save}` (diff)
downloadfrr-634f481113a6ded9c9d596f54001872e2cc1b47f.tar.xz
frr-634f481113a6ded9c9d596f54001872e2cc1b47f.zip
*: 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 'ldpd')
-rw-r--r--ldpd/ldpd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldpd/ldpd.c b/ldpd/ldpd.c
index bf25467af..0d66fc70e 100644
--- a/ldpd/ldpd.c
+++ b/ldpd/ldpd.c
@@ -197,6 +197,7 @@ static const struct frr_yang_module_info *const ldpd_yang_modules[] = {
&frr_vrf_info,
};
+/* clang-format off */
FRR_DAEMON_INFO(ldpd, LDP,
.vty_port = LDP_VTY_PORT,
@@ -210,6 +211,7 @@ FRR_DAEMON_INFO(ldpd, LDP,
.yang_modules = ldpd_yang_modules,
.n_yang_modules = array_size(ldpd_yang_modules),
);
+/* clang-format on */
static void ldp_config_fork_apply(struct event *t)
{