summaryrefslogtreecommitdiff
path: root/sharpd/sharp_main.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2024-01-28 14:30:28 -0500
committerGitHub <noreply@github.com>2024-01-28 14:30:28 -0500
commit259e3d4dac2da37b9abad9f84e41f90c81325a60 (patch)
tree33292e442296b1b4a04b7753e3055706bfd6c7e5 /sharpd/sharp_main.c
parent4d92badcde7573b97d2acc2228d0ca5fe7168e1e (diff)
parentbbd858935fad9a469b5b339948e1215b347b05c0 (diff)
Merge pull request #15243 from opensourcerouting/autoconf-dir-mess
*: fix a pile of directory and/or state retention related issues
Diffstat (limited to 'sharpd/sharp_main.c')
-rw-r--r--sharpd/sharp_main.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/sharpd/sharp_main.c b/sharpd/sharp_main.c
index 1eba9037ae..57948388b2 100644
--- a/sharpd/sharp_main.c
+++ b/sharpd/sharp_main.c
@@ -129,16 +129,20 @@ static const struct frr_yang_module_info *const sharpd_yang_modules[] = {
&frr_vrf_info,
};
-FRR_DAEMON_INFO(sharpd, SHARP, .vty_port = SHARP_VTY_PORT,
+/* clang-format off */
+FRR_DAEMON_INFO(sharpd, SHARP,
+ .vty_port = SHARP_VTY_PORT,
+ .proghelp = "Implementation of a Sharp of routes daemon.",
- .proghelp = "Implementation of a Sharp of routes daemon.",
+ .signals = sharp_signals,
+ .n_signals = array_size(sharp_signals),
- .signals = sharp_signals,
- .n_signals = array_size(sharp_signals),
+ .privs = &sharp_privs,
- .privs = &sharp_privs, .yang_modules = sharpd_yang_modules,
- .n_yang_modules = array_size(sharpd_yang_modules),
+ .yang_modules = sharpd_yang_modules,
+ .n_yang_modules = array_size(sharpd_yang_modules),
);
+/* clang-format on */
static void sharp_start_configuration(void)
{