summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-05-31 00:51:00 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-06-04 16:37:19 +0200
commit4e99f309329a7971f2568e00f5193a81967323a4 (patch)
treed65262984b2cd72819f5f72dbaa899294eb537ef /configure.ac
parentMerge pull request #4452 from donaldsharp/mroute_count (diff)
downloadfrr-4e99f309329a7971f2568e00f5193a81967323a4.tar.xz
frr-4e99f309329a7971f2568e00f5193a81967323a4.zip
lib: Allow -N to modify the zapi domain socket
When using -z, allow that to override the zapi domain socket path. If using -N add the namespace name to the path to $frr_statedir/<namespace>/zserv.api. If you don't specify the -N or -z option then it is $frr_statedir/zserv.api Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c228ff0c9..ea38dbb6c 100755
--- a/configure.ac
+++ b/configure.ac
@@ -2203,7 +2203,7 @@ AC_MSG_RESULT([${frr_statedir}])
AC_SUBST([frr_statedir])
AC_DEFINE_UNQUOTED([LDPD_SOCKET], ["$frr_statedir/ldpd.sock"], [ldpd control socket])
-AC_DEFINE_UNQUOTED([ZEBRA_SERV_PATH], ["$frr_statedir/zserv.api"], [zebra api socket])
+AC_DEFINE_UNQUOTED([ZEBRA_SERV_PATH], ["$frr_statedir%s%s/zserv.api"], [zebra api socket])
AC_DEFINE_UNQUOTED([BFDD_CONTROL_SOCKET], ["$frr_statedir/bfdd.sock"], [bfdd control socket])
AC_DEFINE_UNQUOTED([DAEMON_VTY_DIR], ["$frr_statedir"], [daemon vty directory])
AC_DEFINE_UNQUOTED([DAEMON_DB_DIR], ["$frr_statedir"], [daemon database directory])