summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2024-05-08 19:27:22 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2024-06-20 13:10:51 +0200
commitf18cb4fb58cd443fad02ed991387b301885aaaea (patch)
tree722539054baa0eb7bb061a7990be4b79c6e71032 /pimd
parentMerge pull request #16059 from kacpekwasny/kkwasny/CLIC-139-4 (diff)
downloadfrr-f18cb4fb58cd443fad02ed991387b301885aaaea.tar.xz
frr-f18cb4fb58cd443fad02ed991387b301885aaaea.zip
pimd: make clang-format slightly less annoying
The YANG module list is really better as 1-item-per-line. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim6_main.c2
-rw-r--r--pimd/pim_main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim6_main.c b/pimd/pim6_main.c
index 5ce6985c4..24443404e 100644
--- a/pimd/pim6_main.c
+++ b/pimd/pim6_main.c
@@ -94,6 +94,7 @@ struct frr_signal_t pim6d_signals[] = {
},
};
+/* clang-format off */
static const struct frr_yang_module_info *const pim6d_yang_modules[] = {
&frr_filter_info,
&frr_interface_info,
@@ -105,7 +106,6 @@ static const struct frr_yang_module_info *const pim6d_yang_modules[] = {
&frr_gmp_info,
};
-/* clang-format off */
FRR_DAEMON_INFO(pim6d, PIM6,
.vty_port = PIM6D_VTY_PORT,
.proghelp = "Protocol Independent Multicast (RFC7761) for IPv6",
diff --git a/pimd/pim_main.c b/pimd/pim_main.c
index 400db396c..8f2ce0bed 100644
--- a/pimd/pim_main.c
+++ b/pimd/pim_main.c
@@ -59,6 +59,7 @@ struct zebra_privs_t pimd_privs = {
.cap_num_p = array_size(_caps_p),
.cap_num_i = 0};
+/* clang-format off */
static const struct frr_yang_module_info *const pimd_yang_modules[] = {
&frr_filter_info,
&frr_interface_info,
@@ -70,7 +71,6 @@ static const struct frr_yang_module_info *const pimd_yang_modules[] = {
&frr_gmp_info,
};
-/* clang-format off */
FRR_DAEMON_INFO(pimd, PIM,
.vty_port = PIMD_VTY_PORT,
.proghelp = "Implementation of the PIM routing protocol.",