summaryrefslogtreecommitdiff
path: root/lib/libfrr.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2024-01-24 21:43:15 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2024-01-27 19:01:19 +0100
commit72783ecca2bb4aa79376706d85b9e158e01a29c5 (patch)
treeaca1c123fb57e22b719632e5c1f26cb200f68b3d /lib/libfrr.h
parent80b6787e272388e781695ae17ae26b4c7148d5fc (diff)
build: nuke `ZEBRA_SERV_PATH`
This just unnecessarily complicates things by involving autoconf. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/libfrr.h')
-rw-r--r--lib/libfrr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libfrr.h b/lib/libfrr.h
index ef262c236c..c981c297d1 100644
--- a/lib/libfrr.h
+++ b/lib/libfrr.h
@@ -22,6 +22,8 @@
extern "C" {
#endif
+#define ZAPI_SOCK_NAME "%s/zserv.api", frr_runstatedir
+
/* The following options disable specific command line options that
* are not applicable for a particular daemon.
*/
@@ -169,7 +171,7 @@ DECLARE_KOOH(frr_fini, (), ());
extern void frr_fini(void);
extern char config_default[512];
-extern char frr_zclientpath[256];
+extern char frr_zclientpath[512];
extern const char frr_sysconfdir[];
extern char frr_runstatedir[256];
extern const char frr_moduledir[];