summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-05-31 01:10:35 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-06-04 16:37:19 +0200
commit89277ebf76312c53c71194d6ea8dd65f6e0fa11a (patch)
tree29648efac53a6b91c1c3a98c802ea8eb9f35d9b4 /configure.ac
parentlib: Allow -N to modify the zapi domain socket (diff)
downloadfrr-89277ebf76312c53c71194d6ea8dd65f6e0fa11a.tar.xz
frr-89277ebf76312c53c71194d6ea8dd65f6e0fa11a.zip
bfdd: Allow -N to influence BFDD_CONTROL_SOCKET
When selecting to run bfdd with -N allow the namespace passed in to be added to the $frr_statedir/<namespace name>/bfdd.sock If --bfdctl is passed in that will override the -N option. If neither --bfdctl or -N is passed in then the default of $frr_statedir/bfdd.sock is used. 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 ea38dbb6c..5d17071fb 100755
--- a/configure.ac
+++ b/configure.ac
@@ -2204,7 +2204,7 @@ AC_SUBST([frr_statedir])
AC_DEFINE_UNQUOTED([LDPD_SOCKET], ["$frr_statedir/ldpd.sock"], [ldpd control 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([BFDD_CONTROL_SOCKET], ["$frr_statedir%s%s/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])