From 4e99f309329a7971f2568e00f5193a81967323a4 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 30 May 2019 18:51:00 -0400 Subject: 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//zserv.api. If you don't specify the -N or -z option then it is $frr_statedir/zserv.api Signed-off-by: Donald Sharp --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') 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]) -- cgit v1.2.3