summaryrefslogtreecommitdiffstats
path: root/lib/libfrr.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2024-01-25 16:47:31 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2024-01-27 19:01:19 +0100
commita97d0c5875a562a16a9e3cbae03e615c16e47c87 (patch)
tree0e2290137a99141de9f3eb683c8f7b3fe13687d6 /lib/libfrr.h
parentbuild: nuke `LDPD_SOCKET` (diff)
downloadfrr-a97d0c5875a562a16a9e3cbae03e615c16e47c87.tar.xz
frr-a97d0c5875a562a16a9e3cbae03e615c16e47c87.zip
lib: set up `frr_libstatedir`
This needs to be used for persistent state, which currently is misplaced into `/var/run` / `/run` where it gets deleted across reboots. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/libfrr.h')
-rw-r--r--lib/libfrr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfrr.h b/lib/libfrr.h
index c981c297d..189abf0ae 100644
--- a/lib/libfrr.h
+++ b/lib/libfrr.h
@@ -174,6 +174,7 @@ extern char config_default[512];
extern char frr_zclientpath[512];
extern const char frr_sysconfdir[];
extern char frr_runstatedir[256];
+extern char frr_libstatedir[256];
extern const char frr_moduledir[];
extern const char frr_scriptdir[];